]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Window/clang recipe
authorfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 18 Jun 2019 23:31:56 +0000 (01:31 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 18 Jun 2019 23:31:56 +0000 (01:31 +0200)
.travis.yml

index 37a1e0e6e2d50211f00d167657275583fbc4db33..f38ce22c1358e90078af0475c02cc0baa71a249d 100644 (file)
@@ -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;