diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2012-10-01 22:33:38 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2012-10-03 05:33:31 -0700 |
commit | 9a54c588a5a5f2722987f70318b15ffd7d46bdf5 (patch) | |
tree | ef6cb050ae8a88cea890ee5f8ecee97f507ab759 /check/check-libs | |
parent | 0a5d54d091a421b00dd2c80bc3cf4b51f1d63740 (diff) | |
download | pkg-config-9a54c588a5a5f2722987f70318b15ffd7d46bdf5.tar.gz |
check: Test all variants of --cflags and --libs
Make sure that the --*-only-* variants of --cflags and --libs do the
right thing. This should probably be extended to cover a chain of
packages to get the ordering right, but this is good for now.
Diffstat (limited to 'check/check-libs')
-rwxr-xr-x | check/check-libs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/check/check-libs b/check/check-libs index 37d09b1..2f837fa 100755 --- a/check/check-libs +++ b/check/check-libs @@ -13,3 +13,15 @@ run_test --libs simple RESULT="" run_test --libs fields-blank + +RESULT="-Wl,--as-needed -L/other/lib -lother" +run_test --libs other + +RESULT="-lother" +run_test --libs-only-l other + +RESULT="-L/other/lib" +run_test --libs-only-L other + +RESULT="-Wl,--as-needed" +run_test --libs-only-other other |