summaryrefslogtreecommitdiff
path: root/check/check-sysroot
diff options
context:
space:
mode:
Diffstat (limited to 'check/check-sysroot')
-rwxr-xr-xcheck/check-sysroot14
1 files changed, 9 insertions, 5 deletions
diff --git a/check/check-sysroot b/check/check-sysroot
index b14a025..0820206 100755
--- a/check/check-sysroot
+++ b/check/check-sysroot
@@ -9,12 +9,16 @@ export PKG_CONFIG_SYSROOT_DIR=/sysroot
RESULT=""
run_test --cflags simple
-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="-I/sysroot/public-dep/include"
run_test --cflags public-dep