summaryrefslogtreecommitdiffhomepage
path: root/sysinfo/os
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:39 -0500
commitdaf95d3a93bd4ef1f8d8fb6e53726cf0571a3ac9 (patch)
tree0a6ee5405a9f4e94a5b524fa406f6474a4aeb9c9 /sysinfo/os
parent0b95dc6c8797bc958dfb030c654bc561fb385798 (diff)
downloadmdso-daf95d3a93bd4ef1f8d8fb6e53726cf0571a3ac9.tar.bz2
mdso-daf95d3a93bd4ef1f8d8fb6e53726cf0571a3ac9.tar.xz
PE soname support: added the designated LDFLAGS_SONAME variable.
Diffstat (limited to 'sysinfo/os')
-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)