summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build_and_test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_and_test.sh b/build_and_test.sh
index 7ed30c6..2ff7159 100644
--- a/build_and_test.sh
+++ b/build_and_test.sh
@@ -69,10 +69,12 @@ case $(uname | tr '[:upper:]' '[:lower:]') in
LINK_FLAGS="Shlwapi.lib"
elif command -v gcc >/dev/null 2>&1; then
echo "C compiler found - GCC"
+ LINK_FLAGS="-lShlwapi.lib"
elif command -v clang >/dev/null 2>&1; then
echo "C compiler found - Clang"
COMPILE=clang
COMPILEPP=clang++
+ LINK_FLAGS="-lShlwapi.lib"
else
echo "C compiler not found"
exit 1