diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-09-14 14:13:57 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-09-14 14:21:42 +0300 |
commit | fb0acc2d3ea7c3020d0af869443313cef80710c6 (patch) | |
tree | d45985cac8f3f26d35eb0a6e039bb40461630434 | |
parent | aa932258934f0a5f270e5e2ead0f092a32d466ec (diff) |
Adapt for DISABLE_DYNLOADING instead of just iOS
Change-Id: I7dac78be5a1165ff5cdbd53fd02b907a4fa68a3b
-rw-r--r-- | libxslt/makefile.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libxslt/makefile.mk b/libxslt/makefile.mk index 9d4deffec4ac..88f77616ad9b 100644 --- a/libxslt/makefile.mk +++ b/libxslt/makefile.mk @@ -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 |