Skip to content
Snippets Groups Projects
Commit 53f0366e1498 authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

Support custom prefix when installing Python module

Also fixes make distcheck.
parent c8bc8c952799
No related branches found
No related tags found
No related merge requests found
...@@ -876,7 +876,7 @@ ...@@ -876,7 +876,7 @@
then then
PYTHON_SITE_PACKAGES=$with_python/lib/site-packages PYTHON_SITE_PACKAGES=$with_python/lib/site-packages
else 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 fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment