summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-02-14 23:33:53 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2022-02-14 23:33:53 +0100
commit0d157022037828935f06e8e97928c42fa1053435 (patch)
treeb08ee1c6ea71e0588d2d2b0870f9d3fbccf2c3e8
parenta85a5ecb3310a6d676dcc11fe8eae8fb65238e55 (diff)
downloadlibxslt-0d157022037828935f06e8e97928c42fa1053435.tar.gz
Support custom prefix when installing Python module
Also fixes make distcheck.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3ae53ffa..a34f0af2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -333,7 +333,7 @@ except:
then
PYTHON_SITE_PACKAGES=$with_python/lib/site-packages
else
- PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib())"`
+ PYTHON_SITE_PACKAGES=$($PYTHON -c 'from distutils import sysconfig; print(sysconfig.get_python_lib(True,False,"${exec_prefix}"))')
fi
fi
fi