summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build_and_test.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/build_and_test.sh b/build_and_test.sh
index 7e92a21..16d670f 100644
--- a/build_and_test.sh
+++ b/build_and_test.sh
@@ -76,7 +76,11 @@ case $(uname | tr '[:upper:]' '[:lower:]') in
exit 1
fi
fi
- LINK_FLAGS="Shlwapi.lib"
+ if [ "$COMPILE" = "cl.exe" ]; then
+ LINK_FLAGS="Shlwapi.lib"
+ else
+ LINK_FLAGS="-lShlwapi.lib"
+ fi
;;
*)
if [ "$2" = "" ]; then