aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-04-07 20:19:52 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-04-07 20:53:12 +0530
commit1934ddfc5b21d3dd2bb16dfeae67605e11808bdf (patch)
treee08a5854ca1b6fc8e226669f11c8d27e01eb94df /mesonbuild/scripts
parent700010e452517d0a0b11e8e460d65b257a449302 (diff)
downloadmeson-1934ddfc5b21d3dd2bb16dfeae67605e11808bdf.zip
meson-1934ddfc5b21d3dd2bb16dfeae67605e11808bdf.tar.gz
meson-1934ddfc5b21d3dd2bb16dfeae67605e11808bdf.tar.bz2
Improve cc.has_function() check to not require any includes and detect stubs
We now use .links() to detect if a C compiler function is available or not, that way the user doesn't need to specify all the possible includes for the check, which simplifies things considerably. Also detect glibc stub functions that will never work and return false for them. Closes #437
Diffstat (limited to 'mesonbuild/scripts')
0 files changed, 0 insertions, 0 deletions