From: fennecdjay Date: Tue, 18 Jun 2019 23:31:56 +0000 (+0200) Subject: :wrench: Window/clang recipe X-Git-Tag: nightly~2437 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=70ad3c8010a7c462887a07337a7b9ac70f106aba;p=gwion.git :wrench: Window/clang recipe --- 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;