diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-10-12 14:11:52 +0530 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2022-10-12 08:13:02 -0400 |
commit | c50d837a0c05a6047e5b13d7cdb3ade3e08c6296 (patch) | |
tree | 52b8fd82ffb3a60f4036359dbdf610bd6bcc6276 /docs/refman/model.py | |
parent | 46acd6cd4ac33973daee5436dca8c3035c8f464c (diff) | |
download | meson-c50d837a0c05a6047e5b13d7cdb3ade3e08c6296.zip meson-c50d837a0c05a6047e5b13d7cdb3ade3e08c6296.tar.gz meson-c50d837a0c05a6047e5b13d7cdb3ade3e08c6296.tar.bz2 |
interpreter: Don't say we're using -lfoo args when we're not
cc.compiles(), and other compiler checks that use cc.compiles() under
the hood, do not use link args at all when doing the compile check, so
messages like this:
```
Checking if "have zlib" with dependency -lz compiles: YES
```
is very misleading. The compiler check command-line for that is:
```
cc [...]/testfile.c -o [...]/output.obj -c -D_FILE_OFFSET_BITS=64 -O0
```
Note the lack of linker args.
Diffstat (limited to 'docs/refman/model.py')
0 files changed, 0 insertions, 0 deletions