Adapt for DISABLE_DYNLOADING instead of just iOS

Change-Id: I7dac78be5a1165ff5cdbd53fd02b907a4fa68a3b
This commit is contained in:
Tor Lillqvist
2012-09-14 14:13:57 +03:00
committed by Tor Lillqvist
parent aa93225893
commit fb0acc2d3e

View File

@@ -130,8 +130,10 @@ CPPFLAGS+:=$(ARCH_FLAGS) -xc99=none
CONFIGURE_DIR=
CONFIGURE_ACTION=.$/configure
.IF "$(OS)"=="IOS"
.IF "$(DISABLE_DYNLOADING)" == "TRUE"
.IF "$(OS)" == "IOS"
CONFIGURE_ACTION+=LIBS=-liconv
.ENDIF
CONFIGURE_FLAGS=--disable-shared
.ELSE
CONFIGURE_FLAGS=--disable-static
@@ -166,7 +168,7 @@ OUT2LIB+=libxslt$/.libs$/libxslt.*.dylib
OUT2LIB+=libexslt$/.libs$/libexslt.*.dylib
OUT2BIN_NONE+=xsltproc$/.libs$/xsltproc
OUT2BIN+=xslt-config
.ELIF "$(OS)"=="IOS"
.ELIF "$(DISABLE_DYNLOADING)" == "TRUE"
OUT2LIB+=libxslt$/.libs$/libxslt.a
OUT2LIB+=libexslt$/.libs$/libexslt.a
OUT2BIN+=xslt-config