diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-02-20 14:30:38 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-02-20 14:31:44 +0100 |
commit | 4999a4b5376a4af26e106b303a9b334f1170ff9d (patch) | |
tree | dd929b1c8045e70161c370234f1f60fef30edce1 /configure.ac | |
parent | drop unused hid (diff) | |
download | core-4999a4b5376a4af26e106b303a9b334f1170ff9d.tar.gz core-4999a4b5376a4af26e106b303a9b334f1170ff9d.zip |
configure: LCMS2 needs same treatment as WPD etc.
Change-Id: I2b8f0dd4579c97471653de9f0aa777aa7f5306a8
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 97365f99374c..37b18cc8033b 100644 --- a/configure.ac +++ b/configure.ac @@ -7297,13 +7297,11 @@ if test "$with_system_lcms2" = "yes"; then libo_MINGW_CHECK_DLL([LCMS2], [liblcms2]) else SYSTEM_LCMS2=NO - LCMS2_LIBS="-L${OUTDIR}/lib -llcms2" - LCMS2_CFLAGS="-I${WORKDIR}/UnpackedTarball/lcms2/include" - if test "$GCC" = "yes"; then - LCMS2_CFLAGS="${LCMS2_CFLAGS} -Wno-long-long" - fi fi -libo_CHECK_SYSTEM_MODULE([lcms2],[LCMS2],[lcms2]) +libo_CHECK_SYSTEM_MODULE([lcms2],[LCMS2],[lcms2],["-I${WORKDIR}/UnpackedTarball/lcms2/include"],["-L${OUTDIR}/lib -llcms2"]) +if test "$GCC" = "yes"; then + LCMS2_CFLAGS="${LCMS2_CFLAGS} -Wno-long-long" +fi AC_SUBST([MINGW_LCMS2_DLL]) dnl =================================================================== |