diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-09-06 02:59:48 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-09-06 02:59:48 +0200 |
commit | e3a8730de019e422a3db16cd46e874e5e7b36ccc (patch) | |
tree | dd79f0d9cc63435838ddfb3591db070814c52fc9 | |
parent | a44fa718448b4587f0c78a28fbca7019dce6dba9 (diff) | |
download | kit-e3a8730de019e422a3db16cd46e874e5e7b36ccc.zip |
test
-rw-r--r-- | build_and_test.sh | 6 |
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 |