aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/objcpp.py
diff options
context:
space:
mode:
authorDaniele Nicolodi <daniele@grinta.net>2022-10-27 11:02:00 +0200
committerEli Schwartz <eschwartz93@gmail.com>2022-11-23 07:29:23 -0500
commit235f32f1a67f1d6662b0b1da08621e587da89f72 (patch)
treec2d4c66de43e236a7dfcbbd86df521e7c1f11d7a /mesonbuild/compilers/objcpp.py
parent0404ad5601418884f967f8917cbf763cfb7be282 (diff)
downloadmeson-235f32f1a67f1d6662b0b1da08621e587da89f72.zip
meson-235f32f1a67f1d6662b0b1da08621e587da89f72.tar.gz
meson-235f32f1a67f1d6662b0b1da08621e587da89f72.tar.bz2
python: Use correct extension filename suffix on Python < 3.8.7
On Windows, in Python version prior to 3.8.7, the `sysconfig` modules provides an extension filename suffix that disagrees the one returned by `distutils.sysconfig`. Get the more awesome suffix from the latter when building for a Python version known to present this issue. Simplify the extension module filename suffix lookup to use the same method used by `setuptools`. Adjust project tests accordingly. Fixes #10960.
Diffstat (limited to 'mesonbuild/compilers/objcpp.py')
0 files changed, 0 insertions, 0 deletions