Blame view

buildroot/buildroot-2016.08.1/package/gd/0001-gdlib-config.patch 920 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  Fix gdlib-config
  
  Since the @LIBICONV@ macro doesn't get replaced at compile time, we
  end up installing an invalid gdlib-config: the gdlib-config --libs
  says that one should link against @LIBICONV@ which obviously doesn't
  work.
  
  Use the OpenWRT patch from
  https://dev.openwrt.org/browser/packages/libs/gd/patches/101-gdlib-config.patch
  
  Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  
  --- a/config/gdlib-config.in
  +++ b/config/gdlib-config.in
  @@ -71,7 +71,7 @@ while test $# -gt 0; do
   	echo @LDFLAGS@
   	;;
       --libs)
  -	echo -lgd @LIBS@ @LIBICONV@
  +	echo -lgd @LIBS@
   	;;
       --cflags|--includes)
   	echo -I@includedir@
  @@ -84,7 +84,7 @@ while test $# -gt 0; do
   	echo "includedir: $includedir"
   	echo "cflags:     -I@includedir@"
   	echo "ldflags:    @LDFLAGS@"
  -	echo "libs:       @LIBS@ @LIBICONV@"
  +	echo "libs:       @LIBS@"
   	echo "libdir:     $libdir"
   	echo "features:   @FEATURES@"
   	;;