summaryrefslogtreecommitdiff
path: root/check/check-libs
diff options
context:
space:
mode:
Diffstat (limited to 'check/check-libs')
-rwxr-xr-xcheck/check-libs14
1 files changed, 9 insertions, 5 deletions
diff --git a/check/check-libs b/check/check-libs
index c453b2a..b85dc29 100755
--- a/check/check-libs
+++ b/check/check-libs
@@ -4,12 +4,16 @@ set -e
. ${srcdir}/common
-if [ "$list_indirect_deps" = "yes" ]; then
- RESULT="-lsimple -lm"
-else
- RESULT="-lsimple"
+RESULT="-lsimple"
+if [ "$list_indirect_deps" = no ]; then
+ run_test --libs simple
fi
-run_test --libs simple
+
+RESULT="-lsimple -lm"
+if [ "$list_indirect_deps" = yes ]; then
+ run_test --libs simple
+fi
+run_test --libs --static simple
RESULT=""
run_test --libs fields-blank