]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: -fPIC ?
authorfennecdjay <astor.jeremie@wanadoo.fr>
Fri, 15 Mar 2019 20:57:27 +0000 (21:57 +0100)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Fri, 15 Mar 2019 20:57:27 +0000 (21:57 +0100)
.travis.yml
tests/import/Makefile

index 11771c97ec1dad93ba815cf35418f0a6c79a11b7..a4d77b3b9cf3feb7124b99f77191207a2935fc21 100644 (file)
@@ -54,7 +54,7 @@ install:
       export SEVERITY=1;
       export CFLAGS="$CFLAGS -Idlfcn-win32";
       export LDFLAGS="$LDLAGS -Ldlfcn-win32 -lpsapi dlfcn-win32/libdl.a";
-      export LIBS="$LIBS -lpsapi -shared";
+      export LIBS="$LIBS -lpsapi -shared -fPIC";
     fi;
 
 before_script:
index 2701b69b76b84b56bc217155bdaab68cdd6bd085..e7462f4d381882ba81d5b896801149c7a3d43dc0 100644 (file)
@@ -13,7 +13,7 @@ else
 ifeq ($(shell uname), Linux)
 LDFLAGS += -shared
 else
-LDFLAGS += -shared -lpsapi
+LDFLAGS += -shared -lpsapi -fPIC
 endif
 endif