summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-13 05:16:09 +0000
committermidipix <writeonce@midipix.org>2016-12-13 10:56:32 -0500
commitba674246fed3192414135a3336fde7a75f5680ba (patch)
tree0e852e5b9aa2a67d5359a26c7c186edd86c93b59
parent6b4e4ee768e2793fa4795a2ed57e019f81c162b8 (diff)
downloaddalist-ba674246fed3192414135a3336fde7a75f5680ba.tar.bz2
dalist-ba674246fed3192414135a3336fde7a75f5680ba.tar.xz
PE soname support: added the designated LDFLAGS_SONAME variable.
-rw-r--r--sysinfo/os/pe.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysinfo/os/pe.mk b/sysinfo/os/pe.mk
index 26358e6..bbb74b2 100644
--- a/sysinfo/os/pe.mk
+++ b/sysinfo/os/pe.mk
@@ -2,8 +2,9 @@ LDFLAGS_IMPLIB += -Wl,--output-def
LDFLAGS_IMPLIB += -Wl,$(IMPLIB_DEF)
LDFLAGS_SHARED += $(LDFLAGS_IMPLIB)
-LDFLAGS_SHARED += -Wl,-soname
-LDFLAGS_SHARED += -Wl,$(DSO_SONAME)
+LDFLAGS_SONAME += -Wl,-soname
+LDFLAGS_SONAME += -Wl,$(DSO_SONAME)
+LDFLAGS_SHARED += $(LDFLAGS_SONAME)
PE_SUBSYSTEM ?= windows
LDFLAGS_COMMON += -Wl,--subsystem=$(PE_SUBSYSTEM)