summaryrefslogtreecommitdiffhomepage
path: root/sysinfo
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-13 05:16:09 +0000
committermidipix <writeonce@midipix.org>2016-12-13 10:55:44 -0500
commite617618d3bf73ec60e3d6768b388fefe0b177dee (patch)
tree37adcea3ac40687f63f133d16dcb3437777bca4b /sysinfo
parentde3f7f982ac16c1d71f40e5b0ff0ef306504b96b (diff)
downloadsofort-e617618d3bf73ec60e3d6768b388fefe0b177dee.tar.bz2
sofort-e617618d3bf73ec60e3d6768b388fefe0b177dee.tar.xz
PE soname support: added the designated LDFLAGS_SONAME variable.
Diffstat (limited to 'sysinfo')
-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)