gd-2.1.0-multilib.patch 961 B

1234567891011121314151617181920212223242526272829303132333435
  1. diff -up gd-2.1.0/config/gdlib-config.in.multilib gd-2.1.0/config/gdlib-config.in
  2. --- gd-2.1.0/config/gdlib-config.in.multilib 2013-04-21 16:58:17.820010758 +0200
  3. +++ gd-2.1.0/config/gdlib-config.in 2013-04-21 16:59:27.896317922 +0200
  4. @@ -7,9 +7,10 @@
  5. # installation directories
  6. prefix=@prefix@
  7. exec_prefix=@exec_prefix@
  8. -libdir=@libdir@
  9. +libdir=`pkg-config gdlib --variable=libdir`
  10. includedir=@includedir@
  11. bindir=@bindir@
  12. +ldflags=`pkg-config gdlib --variable=ldflags`
  13. usage()
  14. {
  15. @@ -68,7 +69,7 @@ while test $# -gt 0; do
  16. echo @GDLIB_REVISION@
  17. ;;
  18. --ldflags)
  19. - echo @LDFLAGS@
  20. + echo $ldflags
  21. ;;
  22. --libs)
  23. echo -lgd @LIBS@ @LIBICONV@
  24. @@ -83,7 +84,7 @@ while test $# -gt 0; do
  25. echo "GD library @VERSION@"
  26. echo "includedir: $includedir"
  27. echo "cflags: -I@includedir@"
  28. - echo "ldflags: @LDFLAGS@"
  29. + echo "ldflags: $ldflags"
  30. echo "libs: @LIBS@ @LIBICONV@"
  31. echo "libdir: $libdir"
  32. echo "features: @FEATURES@"