summaryrefslogtreecommitdiff
path: root/libxslt
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-11-03 14:42:17 +0200
committerTor Lillqvist <tlillqvist@suse.com>2011-11-03 14:44:58 +0200
commit4abf8729b8344a4d2084ba299b570ec7badc5a10 (patch)
treedca26ede76c99a6ccae9c64ea93313822e3a64be /libxslt
parent7d4f986abf2b0e1c661a39e66e389ccd354a6ac1 (diff)
Use the xml2-config from our own libxml2 copy if not using a system libxml2
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