[Libreoffice-commits] .: libxslt/makefile.mk
Tor Lillqvist
tml at kemper.freedesktop.org
Fri Nov 11 15:10:45 PST 2011
libxslt/makefile.mk | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 8585861fc3be1574d7a641ef2a8c0feed2fad446
Author: Tor Lillqvist <tml at iki.fi>
Date: Sat Nov 12 00:31:07 2011 +0200
Fix iOS fallout from libxml2+libxslt marriage
configure.in nowadays doesn't allow using system libxml2 but internal
libxslt. So remove iOS specifics related to that combination. Keep
building a static library for iOS, though.
diff --git a/libxslt/makefile.mk b/libxslt/makefile.mk
index 2bec8bd..cc89185 100644
--- a/libxslt/makefile.mk
+++ b/libxslt/makefile.mk
@@ -134,17 +134,17 @@ CONFIGURE_DIR=
CONFIGURE_ACTION=.$/configure
.IF "$(OS)"=="IOS"
-# --with-libxml-prefix actually gives the prefix where bin/xml2-config is looked for,
-# and we want it to find our dummy one that prints the LIBXML_CFLAGS and LIBXML_LIBS that
-# the configure script found out.
-CONFIGURE_FLAGS=--disable-shared --with-libxml-prefix=$(SRC_ROOT)/$(PRJNAME)/dummy
-.ELIF "$(SYSTEM_LIBXML)"!="YES"
-# Use the xml2-config from our own libxml2 copy
-CONFIGURE_FLAGS=--disable-static --with-libxml-prefix=$(SOLARVER)/$(INPATH)
+CONFIGURE_ACTION+=LIBS=-liconv
+CONFIGURE_FLAGS=--disable-shared
.ELSE
CONFIGURE_FLAGS=--disable-static
.ENDIF
+.IF "$(SYSTEM_LIBXML)"!="YES"
+# Use the xml2-config from our own libxml2 copy
+CONFIGURE_FLAGS+=--with-libxml-prefix=$(SOLARVER)/$(INPATH)
+.ENDIF
+
CONFIGURE_FLAGS+=--enable-ipv6=no --without-crypto --without-python --with-sax1=yes
.IF "$(CROSS_COMPILING)"=="YES"
More information about the Libreoffice-commits
mailing list