From e3a8730de019e422a3db16cd46e874e5e7b36ccc Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Wed, 6 Sep 2023 02:59:48 +0200 Subject: test --- build_and_test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3