Changing output importlib

This commit is contained in:
Lailouezzz 2020-01-03 13:56:15 +01:00
parent 5c8b8f2616
commit adc0714bce
Signed by: Lailouezzz
GPG Key ID: 03FCE8A99EF8482C
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ endif
LDFLAGS := $(if $(STATIC),,-shared) \
$(shell $(PKGCONFIG) --libs $(ALLDEPS) 2>/dev/null) -lm
ifneq ($(FOR_WINDOWS),)
LDFLAGS += -Wl,--out-implib,lib$(NAME).dll.a \
LDFLAGS += -Wl,--out-implib,build/lib$(NAME).dll.a \
-lws2_32 -lsetupapi -luuid
else
LDFLAGS += $(if $(STATIC),,-Wl,-soname,$(SONAME) \
@ -173,7 +173,7 @@ endif
L_LDFLAGS := $(if $(STATIC),,-shared) $(L_LIBS)
ifneq ($(FOR_WINDOWS),)
L_LDFLAGS += -Wl,--out-implib,lib$(NAME).dll.a -lws2_32 -lsetupapi -luuid
L_LDFLAGS += -Wl,--out-implib,./build/lib$(NAME).dll.a -lws2_32 -lsetupapi -luuid
else
L_LDFLAGS += $(if $(STATIC),,"-Wl,-soname,$(L_SONAME)" \
-e lib$(LIB)__version "-Wl,-z,relro" "-Wl,-z,combreloc" \