[Libreoffice-commits] .: fontconfig/ExternalProject_fontconfig.mk

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 8 06:11:31 PST 2012


 fontconfig/ExternalProject_fontconfig.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6063fd0402e0b63aec4a6740e94e4f76fcc312c1
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Thu Nov 8 16:05:15 2012 +0200

    fontconfig's configure looks for <expat.h>
    
    So we need to use the expat subdir too in
    --with-expat-includes. Apparently until now it did not find expat.h,
    so it fell back to libxml2 instead then, which was sometimes found OK,
    sometimes (on tinderboxes) not. (It even went looking in the *build*
    platform /usr/include, eek!)
    
    Change-Id: If0595b810d531b5aa7110f375d4d0dfb0b01617b

diff --git a/fontconfig/ExternalProject_fontconfig.mk b/fontconfig/ExternalProject_fontconfig.mk
index 296db71..c0b1878 100644
--- a/fontconfig/ExternalProject_fontconfig.mk
+++ b/fontconfig/ExternalProject_fontconfig.mk
@@ -24,7 +24,7 @@ $(call gb_ExternalProject_get_state_target,fontconfig,build) :
 	&& $(if $(debug),CFLAGS=-g) $(if $(filter ANDROID,$(OS)),LIBS="-lm") ./configure \
 		--disable-shared \
 		--with-arch=arm \
-		--with-expat-includes=$(OUTDIR)/inc/external \
+		--with-expat-includes=$(OUTDIR)/inc/external/expat \
 		--with-expat-lib=$(OUTDIR)/lib \
 		--with-freetype-config=$(OUTDIR)/bin/freetype-config \
 		--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) \


More information about the Libreoffice-commits mailing list