summaryrefslogtreecommitdiff
path: root/check/check-libs
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@err.no>2009-03-30 22:03:38 +0200
committerTollef Fog Heen <tfheen@err.no>2009-03-30 22:03:38 +0200
commite4d39435b9819f36eb9951ecdc9d02d57e75a065 (patch)
tree492f47505108f0e57273339bbb92bd21776ba670 /check/check-libs
parentf37f04a78a6eb3c2481ab9b4fdf23c325b0f299b (diff)
downloadpkg-config-e4d39435b9819f36eb9951ecdc9d02d57e75a065.tar.gz
2009-03-30 Tollef Fog Heen <tfheen@err.no>
* check/check-missing, check/check-libs, check/check-requires-private: Handle the case of indirect being enabled correctly in checks.
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