From 307841130fe8f4aa1448b86cfcb2cf08c0a79f56 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Fri, 15 Mar 2019 22:52:50 +0100 Subject: [PATCH] :art: remove -lshared --- .travis.yml | 2 +- tests/import/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 34a8515d..3cc941b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,7 +53,7 @@ install: export VALGRIND="NO_VALGRIND"; export SEVERITY=1; export CFLAGS="$CFLAGS -Idlfcn-win32"; - export LDFLAGS="$LDLAGS -Ldlfcn-win32 -lpsapi -lshared -shared -fPIC dlfcn-win32/libdl.a -Wl,--export-all -Wl,--enable-auto-import"; + 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 -lshared"; fi; diff --git a/tests/import/Makefile b/tests/import/Makefile index f3133a34..0fb26b23 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 -lshared +LDFLAGS += -shared -lpsapi -fPIC -Wl,--export-all -Wl,--enable-auto-import endif endif -- 2.43.0