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.pull/1891/head
parent
73b0002793
commit
3a2e333f00
1 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue