diff options
author | midipix <writeonce@midipix.org> | 2018-11-25 06:07:28 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-11-25 09:18:59 -0500 |
commit | d36a643cd9b57e9419632c30059806e0114be889 (patch) | |
tree | 8496e4606290a89e101aa7aca5415b920a1ca212 | |
parent | 386b0e4963963468398f7c211f682f8353b64107 (diff) | |
download | w32lib-d36a643cd9b57e9419632c30059806e0114be889.tar.bz2 w32lib-d36a643cd9b57e9419632c30059806e0114be889.tar.xz |
build system: only apply LDFLAGS_IMPLIB to the package's primary shared lib.
-rw-r--r-- | Makefile.in | 1 | ||||
-rw-r--r-- | sysinfo/os/pe.mk | 1 |
2 files changed, 1 insertions, 1 deletions
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) |