Blame SOURCES/gd-2.1.0-multilib.patch

87e604
diff -up gd-2.1.0/config/gdlib-config.in.multilib gd-2.1.0/config/gdlib-config.in
87e604
--- gd-2.1.0/config/gdlib-config.in.multilib	2013-04-21 16:58:17.820010758 +0200
87e604
+++ gd-2.1.0/config/gdlib-config.in	2013-04-21 16:59:27.896317922 +0200
87e604
@@ -7,9 +7,10 @@
87e604
 # installation directories
87e604
 prefix=@prefix@
87e604
 exec_prefix=@exec_prefix@
87e604
-libdir=@libdir@
87e604
+libdir=`pkg-config gdlib --variable=libdir`
87e604
 includedir=@includedir@
87e604
 bindir=@bindir@
87e604
+ldflags=`pkg-config gdlib --variable=ldflags`
87e604
 
87e604
 usage()
87e604
 {
87e604
@@ -68,7 +69,7 @@ while test $# -gt 0; do
87e604
 	echo @GDLIB_REVISION@
87e604
 	;;
87e604
     --ldflags)
87e604
-	echo @LDFLAGS@
87e604
+	echo $ldflags
87e604
 	;;
87e604
     --libs)
87e604
 	echo -lgd @LIBS@ @LIBICONV@
87e604
@@ -83,7 +84,7 @@ while test $# -gt 0; do
87e604
 	echo "GD library  @VERSION@"
87e604
 	echo "includedir: $includedir"
87e604
 	echo "cflags:     -I@includedir@"
87e604
-	echo "ldflags:    @LDFLAGS@"
87e604
+	echo "ldflags:    $ldflags"
87e604
 	echo "libs:       @LIBS@ @LIBICONV@"
87e604
 	echo "libdir:     $libdir"
87e604
 	echo "features:   @FEATURES@"