Kaydet (Commit) 4d00f793 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Use dummy xml2-config script for iOS

üst 25dff099
#!/bin/sh
# Use flags found out by configure when we *don't* want
# to use the "system" xml2-config in $PATH
case $1 in
--cflags)
echo $LIBXML_CFLAGS
;;
--libs)
echo $LIBXML_LIBS
;;
--version)
# Assume it's close enough to the system version...
xml2-config --version
;;
esac
...@@ -115,17 +115,25 @@ LDFLAGS+:=-L$(SOLARLIBDIR) -L$(SYSBASE)$/lib -L$(SYSBASE)$/usr$/lib -lpthread -l ...@@ -115,17 +115,25 @@ LDFLAGS+:=-L$(SOLARLIBDIR) -L$(SYSBASE)$/lib -L$(SYSBASE)$/usr$/lib -lpthread -l
.IF "$(COMNAME)"=="sunpro5" .IF "$(COMNAME)"=="sunpro5"
CPPFLAGS+:=$(ARCH_FLAGS) -xc99=none CPPFLAGS+:=$(ARCH_FLAGS) -xc99=none
.ENDIF # "$(COMNAME)"=="sunpro5" .ENDIF # "$(COMNAME)"=="sunpro5"
CONFIGURE_DIR= CONFIGURE_DIR=
CONFIGURE_ACTION=.$/configure CONFIGURE_ACTION=.$/configure
.IF "$(OS)"=="IOS" .IF "$(OS)"=="IOS"
CONFIGURE_FLAGS=--disable-shared # --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
.ELSE .ELSE
CONFIGURE_FLAGS=--disable-static CONFIGURE_FLAGS=--disable-static
.ENDIF .ENDIF
CONFIGURE_FLAGS+=--enable-ipv6=no --without-crypto --without-python --with-sax1=yes CONFIGURE_FLAGS+=--enable-ipv6=no --without-crypto --without-python --with-sax1=yes
.IF "$(CROSS_COMPILING)"=="YES" .IF "$(CROSS_COMPILING)"=="YES"
CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
.ENDIF .ENDIF
BUILD_ACTION=chmod 777 xslt-config && $(GNUMAKE) BUILD_ACTION=chmod 777 xslt-config && $(GNUMAKE)
BUILD_FLAGS+= -j$(EXTMAXPROCESS) BUILD_FLAGS+= -j$(EXTMAXPROCESS)
BUILD_DIR=$(CONFIGURE_DIR) BUILD_DIR=$(CONFIGURE_DIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment