summaryrefslogtreecommitdiff
path: root/check/check-libs
diff options
context:
space:
mode:
Diffstat (limited to 'check/check-libs')
-rwxr-xr-xcheck/check-libs12
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