summaryrefslogtreecommitdiff
path: root/libxslt/dummy
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-06-13 01:04:28 +0300
committerTor Lillqvist <tml@iki.fi>2011-06-13 01:04:28 +0300
commit4d00f7934609b42338a0ca9630bd562cd129e8d4 (patch)
treed29df9af4627ebcaa2ae1aa00dd7297e84096c67 /libxslt/dummy
parent25dff099078d6923172100372268035488d6c08e (diff)
Use dummy xml2-config script for iOS
Diffstat (limited to 'libxslt/dummy')
-rwxr-xr-xlibxslt/dummy/bin/xml2-config17
1 files changed, 17 insertions, 0 deletions
diff --git a/libxslt/dummy/bin/xml2-config b/libxslt/dummy/bin/xml2-config
new file mode 100755
index 000000000000..4ee8dd0206c5
--- /dev/null
+++ b/libxslt/dummy/bin/xml2-config
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# Use flags found out by configure when we *don't* want
+# to use the "system" xml2-config in $PATH
+
+case $1 in
+--cflags)
+ echo $LIBXML_CFLAGS
+ ;;
+--libs)
+ echo $LIBXML_LIBS
+ ;;
+--version)
+ # Assume it's close enough to the system version...
+ xml2-config --version
+ ;;
+esac