summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-09-06 02:59:48 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-09-06 02:59:48 +0200
commite3a8730de019e422a3db16cd46e874e5e7b36ccc (patch)
treedd79f0d9cc63435838ddfb3591db070814c52fc9
parenta44fa718448b4587f0c78a28fbca7019dce6dba9 (diff)
downloadkit-e3a8730de019e422a3db16cd46e874e5e7b36ccc.zip
test
-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