From fb178f04d3a2204667da1d86827dfa0a43f6ba80 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 25 Nov 2018 06:07:28 -0500 Subject: build system: only apply LDFLAGS_IMPLIB to the package's primary shared lib. --- Makefile.in | 1 + sysinfo/os/pe.mk | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index ad393f7..76d0133 100644 --- a/Makefile.in +++ b/Makefile.in @@ -218,6 +218,7 @@ app-objs: dirs $(APP_OBJS) $(SHARED_LIB): $(SHARED_OBJS) +$(SHARED_LIB): LDFLAGS_SHARED += $(LDFLAGS_IMPLIB) $(STATIC_LIB): $(STATIC_OBJS) diff --git a/sysinfo/os/pe.mk b/sysinfo/os/pe.mk index c3c5ba0..6f9e8ef 100644 --- a/sysinfo/os/pe.mk +++ b/sysinfo/os/pe.mk @@ -4,7 +4,6 @@ DSO_REF_SOLINK = $(IMPLIB_SOLINK) LDFLAGS_IMPLIB += -Wl,--output-def LDFLAGS_IMPLIB += -Wl,$(IMPLIB_DEF) -LDFLAGS_SHARED += $(LDFLAGS_IMPLIB) LDFLAGS_SONAME += -Wl,-soname LDFLAGS_SONAME += -Wl,$(DSO_SONAME) -- cgit v1.2.3