diff options
Diffstat (limited to 'libpkgconf/tests/api/testscript')
-rw-r--r-- | libpkgconf/tests/api/testscript | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libpkgconf/tests/api/testscript b/libpkgconf/tests/api/testscript index 0382f87..39341ba 100644 --- a/libpkgconf/tests/api/testscript +++ b/libpkgconf/tests/api/testscript @@ -143,3 +143,31 @@ Security EOO } + +: no-drop +: +: Test that the -framework options are not dropped. +: +{ + +cat <<EOI >=libfoo.pc + Name: libfoo + Description: Foo library + Version: 1.0 + Libs: -L/Users/build/install/lib -lcurl -framework Cocoa -framework IOKit -framework CoreFoundation + EOI + + f = $~/libfoo.pc + + : libs + : + $* --libs $f >>EOO + L /Users/build/install/lib + l curl + -framework + Cocoa + -framework + IOKit + -framework + CoreFoundation + EOO +} |