libraw/libraw-lcms2-build.patch
2011-01-07 22:01:23 +00:00

16 lines
435 B
Diff

--- configure.ac
+++ configure.ac
@@ -44,9 +44,9 @@
esac],[lcms=true])
if test x$lcms = xtrue; then
- PKG_CHECK_MODULES([LCMS2],[lcms2],[
- CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS -DUSE_LCMS2"
- LDFLAGS="$LDFLAGS $LCMS2_LIBS"
+ PKG_CHECK_MODULES([LCMS],[lcms2],[
+ CPPFLAGS="$CPPFLAGS $LCMS_CFLAGS -DUSE_LCMS2"
+ LDFLAGS="$LDFLAGS $LCMS_LIBS"
AC_SUBST([PACKAGE_REQUIRES],[lcms2])
],[
PKG_CHECK_MODULES([LCMS],[lcms],[