(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 4 Oct 2013 12:34:32 +0000 (12:34 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 4 Oct 2013 12:34:32 +0000 (12:34 +0000)
MagickWand/MagickWand-config.in

index f29b023392b8999cd470e7ea14733bc635dd18ae..aeb3641c6f8aa4c7ed18801c486363cb66ca32a5 100644 (file)
@@ -38,19 +38,19 @@ while test $# -gt 0; do
       echo '@PACKAGE_VERSION@ Q@QUANTUM_DEPTH@ @MAGICK_HDRI@'
       ;;
     --cflags)
-      pkg-config --cflags MagickWand
+      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand
       ;;
     --cxxflags)
-      pkg-config --cflags MagickWand
+      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand
       ;;
     --cppflags)
-      pkg-config --cflags MagickWand
+      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand
       ;;
     --ldflags)
-      pkg-config --libs MagickWand
+      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --libs MagickWand
       ;;
     --libs)
-      pkg-config --libs MagickWand
+      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --libs MagickWand
       ;;
     *)
       echo "${usage}" 1>&2