Index: wand/MagickWand.pc.in --- wand/MagickWand.pc.in.orig +++ wand/MagickWand.pc.in @@ -1,8 +1,8 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ -includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@ -includearchdir=@INCLUDEARCH_DIR@/ImageMagick-@MAGICK_MAJOR_VERSION@ +includedir=@includedir@/ImageMagick +includearchdir=@INCLUDEARCH_DIR@/ImageMagick libname=MagickWand-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@ Name: MagickWand @@ -11,5 +11,5 @@ URL: https://github.com/ImageMagick/ImageMagick6 Version: @PACKAGE_BASE_VERSION@ Requires: MagickCore-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@ Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@ -Libs: -L${libdir} -l${libname} -Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@ +Libs: -L${X11BASE}/lib -L${libdir} -l${libname} +Libs.private: -L${X11BASE}/lib -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@