From 70ad3c8010a7c462887a07337a7b9ac70f106aba Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Wed, 19 Jun 2019 01:31:56 +0200 Subject: [PATCH] :wrench: Window/clang recipe --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 37a1e0e6..f38ce22c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,7 +47,10 @@ install: export BUILD_ON_WINDOWS=1; export VALGRIND="NO_VALGRIND"; export SEVERITY=1; - export LDFLAGS="$LDLAGS -lpsapi -shared -fPIC -Wl,--export-all -Wl,--enable-auto-import"; + if [ $(CC) = "gcc" ]; + then export LDFLAGS="$LDLAGS -lpsapi -shared -fPIC -Wl,--export-all -Wl,--enable-auto-import"; + else export LDFLAGS="$LDLAGS -lpsapi -shared -fPIC"; + fi export LIBS="$LIBS -lpsapi -shared -fPIC"; fi; -- 2.43.0