summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libxslt/makefile.mk6
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