diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/libxinevdec/Makefile.am | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 55bf54ae9..3f4593999 100644 --- a/configure.ac +++ b/configure.ac @@ -1255,6 +1255,7 @@ if test "x$with_imagemagick" = "xyes"; then have_imagemagick="no" else WAND_CFLAGS=`$WAND_CONFIG --cflags` + WAND_CPPFLAGS=`$WAND_CONFIG --cppflags` WAND_LDFLAGS=`$WAND_CONFIG --ldflags` WAND_LIBS=`$WAND_CONFIG --libs` have_imagemagick="yes" @@ -1266,6 +1267,7 @@ fi AM_CONDITIONAL(HAVE_WAND, test x"$have_imagemagick" = "xyes" ) AC_SUBST(WAND_CFLAGS) +AC_SUBST(WAND_CPPFLAGS) AC_SUBST(WAND_LDFLAGS) AC_SUBST(WAND_LIBS) diff --git a/src/libxinevdec/Makefile.am b/src/libxinevdec/Makefile.am index bf1ae1d68..084b2be93 100644 --- a/src/libxinevdec/Makefile.am +++ b/src/libxinevdec/Makefile.am @@ -31,6 +31,7 @@ xineplug_decode_yuv_la_LIBADD = $(XINE_LIB) xineplug_decode_yuv_la_LDFLAGS = -avoid-version -module @XINE_PLUGIN_MIN_SYMS@ xineplug_decode_image_la_SOURCES = image.c +xineplug_decode_image_la_CPPFLAGS = $(WAND_CPPFLAGS) xineplug_decode_image_la_CFLAGS = $(WAND_CFLAGS) xineplug_decode_image_la_LIBADD = $(XINE_LIB) $(DYNAMIC_LD_LIBS) $(WAND_LIBS) xineplug_decode_image_la_LDFLAGS = $(WAND_LDFLAGS) -avoid-version -module @XINE_PLUGIN_MIN_SYMS@ |