aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2017-05-28 10:47:50 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-06-03 21:35:09 +0300
commit3a2e333f004828e5390ce96344cb338be11e70b0 (patch)
tree180ecc24795b1eea0f8b6b75214ff9dac122f134 /mesonbuild/compilers.py
parent73b0002793a321ea1b0570720ec16fa4a9bc6467 (diff)
downloadmeson-3a2e333f004828e5390ce96344cb338be11e70b0.zip
meson-3a2e333f004828e5390ce96344cb338be11e70b0.tar.gz
meson-3a2e333f004828e5390ce96344cb338be11e70b0.tar.bz2
gnome: Use --pkg to pass pkg-config cflags to g-ir-scanner
While g-ir-scanner's compatible -I and -D flags cover what most pkg-config files use, there's no guarantee that files don't set anything more exotic that conflicts with the tool's own options. For a real world example, mozjs-38 has '-include some-header-file.h', which translates to '--include nclude another-file-to-scan.h' for the scanner; unless for some reason there's an 'nclude' GIR available on the system, the target will thus fail. Avoid this case by pointing g-ir-scanner to the correct pkg-config file instead of passing any cflags directly.
Diffstat (limited to 'mesonbuild/compilers.py')
0 files changed, 0 insertions, 0 deletions