aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/commandrunner.py
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-09-15 17:15:03 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2018-12-10 20:25:33 +0200
commit8e85a7b7b83ad1cf55470817d567a3fde53e1318 (patch)
treed62742c88a76c6f2ccd90bb56f95c28bf8c6621a /mesonbuild/scripts/commandrunner.py
parentf77ead26eb726a32d4eadce298abeba95645bbcd (diff)
downloadmeson-8e85a7b7b83ad1cf55470817d567a3fde53e1318.zip
meson-8e85a7b7b83ad1cf55470817d567a3fde53e1318.tar.gz
meson-8e85a7b7b83ad1cf55470817d567a3fde53e1318.tar.bz2
python: only link extension modules against libpython when distutils does too. Fixes #4117
Windows requires things to be linked, on macOS distutils doesn't link by default. On Linux etc. things are not so clear, some distros like Debian patch distutils to not link, some don't. In addition the manylinux wheels spec prohibits linking against libpython and upstream is thinking about changing the default: https://bugs.python.org/issue34814 Call into distutils to figure out what distutils does and in case it doesn't link against libpython replace the passed in Python dependency with a partial one.
Diffstat (limited to 'mesonbuild/scripts/commandrunner.py')
0 files changed, 0 insertions, 0 deletions