summaryrefslogtreecommitdiff
path: root/libxslt
diff options
context:
space:
mode:
Diffstat (limited to 'libxslt')
-rw-r--r--libxslt/makefile.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/libxslt/makefile.mk b/libxslt/makefile.mk
index fe808ddadba4..f884c356b0e0 100644
--- a/libxslt/makefile.mk
+++ b/libxslt/makefile.mk
@@ -134,6 +134,9 @@ CONFIGURE_ACTION=.$/configure
# 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)
.ELSE
CONFIGURE_FLAGS=--disable-static
.ENDIF