Blame SOURCES/gd-2.1.0-multilib.patch

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