[libxslt] Support custom prefix when installing Python module
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxslt] Support custom prefix when installing Python module
- Date: Wed, 16 Feb 2022 16:55:30 +0000 (UTC)
commit 0d157022037828935f06e8e97928c42fa1053435
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Mon Feb 14 23:33:53 2022 +0100
Support custom prefix when installing Python module
Also fixes make distcheck.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]