aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Python-3-module.md
diff options
context:
space:
mode:
authorÉrico Rolim <erico.erc@gmail.com>2021-02-01 00:26:49 -0300
committerEli Schwartz <eschwartz93@gmail.com>2021-02-01 07:09:37 -0500
commit127b7886286c21df528121b2ec3a2e24ea8874d0 (patch)
treee633624be642a628d2c9638156000a3096b66d96 /docs/markdown/Python-3-module.md
parent474f4813c477c30bed842baa706170e5e902838c (diff)
downloadmeson-127b7886286c21df528121b2ec3a2e24ea8874d0.zip
meson-127b7886286c21df528121b2ec3a2e24ea8874d0.tar.gz
meson-127b7886286c21df528121b2ec3a2e24ea8874d0.tar.bz2
tests/common: fix " 37 has function" test on musl systems.
This commit fixes the test that asserts on whether the lchmod() function should have been detected as available by Meson. It does so by assuming that on Linux systems not using glibc, the function will be available. - fix comment about lchmod on Linux: musl has implemented the function correctly since 2013, so the assumption in the test wasn't correct. Furthermore, musl doesn't use glibc's stub mechanism. - fix include to receive __GLIBC__ definition: including almost any header in glibc will end up defining __GLIBC__, since most headers include <features.h>. The <gnu/libc-version.h> header was probably chosen because of its name, but its actual purpose is defining functions for checking glibc version at runtime (instead of what the binary was built with), so it isn't necessary to use it. Since it is a completely non standard header, including it makes the test suite fail on musl due to not finding the header.
Diffstat (limited to 'docs/markdown/Python-3-module.md')
0 files changed, 0 insertions, 0 deletions