aboutsummaryrefslogtreecommitdiff
path: root/extra/libxslt/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libxslt/build')
-rwxr-xr-xextra/libxslt/build6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/libxslt/build b/extra/libxslt/build
index 6daf22f8..bae24137 100755
--- a/extra/libxslt/build
+++ b/extra/libxslt/build
@@ -1,5 +1,11 @@
#!/bin/sh -e
+cpt l -q python && {
+ pyver=$(python --version)
+ pyver=${pyver##* }
+ export am_cv_python_version="${pyver%.*}"
+}
+
./configure \
--prefix=/usr