From: fennecdjay Date: Fri, 15 Mar 2019 20:57:27 +0000 (+0100) Subject: :wrench: -fPIC ? X-Git-Tag: nightly~2657 X-Git-Url: http://10.11.0.4:5575/?a=commitdiff_plain;h=494b99d558607584d393e98502cb468d1e3ccfa5;p=gwion.git :wrench: -fPIC ? --- diff --git a/.travis.yml b/.travis.yml index 11771c97..a4d77b3b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/tests/import/Makefile b/tests/import/Makefile index 2701b69b..e7462f4d 100644 --- a/tests/import/Makefile +++ b/tests/import/Makefile @@ -13,7 +13,7 @@ else ifeq ($(shell uname), Linux) LDFLAGS += -shared else -LDFLAGS += -shared -lpsapi +LDFLAGS += -shared -lpsapi -fPIC endif endif