mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2025-12-20 05:30:03 +01:00
check: Include special-flags in sysroot test
Make sure that the sysroot behavior works right when we have non-I/L flags to consider. https://bugs.freedesktop.org/show_bug.cgi?id=97337
This commit is contained in:
parent
a737256219
commit
7707d2ff33
1 changed files with 6 additions and 0 deletions
|
|
@ -30,3 +30,9 @@ run_test --cflags public-dep
|
|||
|
||||
RESULT="-L$root/sysroot/public-dep/lib -lpublic-dep"
|
||||
run_test --libs public-dep
|
||||
|
||||
RESULT="-g -isystem /system1 -idirafter /after1 -ffoo -idirafter /after2 -isystem /system2 -I$root/sysroot/foo -I$root/sysroot/bar"
|
||||
run_test --cflags special-flags
|
||||
|
||||
RESULT="-L$root/sysroot/foo -L$root/sysroot/bar -framework Foo -lsimple -framework Bar -Wl,-framework -Wl,Baz"
|
||||
run_test --libs special-flags
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue