summaryrefslogtreecommitdiff
path: root/check/check-libs
diff options
context:
space:
mode:
Diffstat (limited to 'check/check-libs')
-rwxr-xr-xcheck/check-libs6
1 files changed, 5 insertions, 1 deletions
diff --git a/check/check-libs b/check/check-libs
index 32366a1..d124970 100755
--- a/check/check-libs
+++ b/check/check-libs
@@ -10,6 +10,10 @@ set -e
. ${srcdir}/common
ARGS="--libs simple"
-RESULT="-lsimple"
+if [ "$list_indirect_deps" = "yes" ]; then
+ RESULT="-lsimple -lm"
+else
+ RESULT="-lsimple"
+fi
run_test