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

Support custom prefix when installing Python module

Also fixes make distcheck.
parent d77d759f4668
No related branches found
No related tags found
No related merge requests found
......@@ -333,7 +333,7 @@
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment