[Libreoffice-commits] .: lcms2/makefile.mk

Jan Holesovsky kendy at kemper.freedesktop.org
Mon Mar 19 05:33:56 PDT 2012


 lcms2/makefile.mk |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit aa7901471055a6fdb34979e630044b3ffe551d73
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Mon Mar 19 13:33:26 2012 +0100

    Fix libcms2 build on MinGW.

diff --git a/lcms2/makefile.mk b/lcms2/makefile.mk
index 2be34b5..99ad872 100644
--- a/lcms2/makefile.mk
+++ b/lcms2/makefile.mk
@@ -39,7 +39,11 @@ TARGET=so_lcms2
 TARFILE_NAME=lcms2-2.3
 TARFILE_MD5=327348d67c979c88c2dec59a23a17d85
 
-PATCH_FILES = lcms2.patch lcms2-windows-export.patch
+PATCH_FILES = lcms2.patch
+
+.IF "$(CROSS_COMPILING)"!="YES"
+PATCH_FILES += lcms2-windows-export.patch
+.ENDIF
 
 .IF "$(SYSTEM_LCMS2)" == "YES"
 @all:


More information about the Libreoffice-commits mailing list