From de475615799b4005ab986bce6181837b7ee8d5df Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Fri, 15 Mar 2019 22:49:56 +0100 Subject: [PATCH] :art: -lshared --- .travis.yml | 4 ++-- tests/import/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a14337b1..34a8515d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,8 +53,8 @@ install: export VALGRIND="NO_VALGRIND"; export SEVERITY=1; export CFLAGS="$CFLAGS -Idlfcn-win32"; - export LDFLAGS="$LDLAGS -Ldlfcn-win32 -lpsapi -shared -fPIC dlfcn-win32/libdl.a -Wl,--export-all -Wl,--enable-auto-import"; - export LIBS="$LIBS -lpsapi -shared -fPIC"; + export LDFLAGS="$LDLAGS -Ldlfcn-win32 -lpsapi -lshared -shared -fPIC dlfcn-win32/libdl.a -Wl,--export-all -Wl,--enable-auto-import"; + export LIBS="$LIBS -lpsapi -shared -fPIC -lshared"; fi; before_script: diff --git a/tests/import/Makefile b/tests/import/Makefile index 0fb26b23..f3133a34 100644 --- a/tests/import/Makefile +++ b/tests/import/Makefile @@ -13,7 +13,7 @@ else ifeq ($(shell uname), Linux) LDFLAGS += -shared else -LDFLAGS += -shared -lpsapi -fPIC -Wl,--export-all -Wl,--enable-auto-import +LDFLAGS += -shared -lpsapi -fPIC -Wl,--export-all -Wl,--enable-auto-import -lshared endif endif -- 2.43.0