From 1f5a2325c9a8fd42fcc58894e1f53392c48eaefd Mon Sep 17 00:00:00 2001 From: midipix Date: Dec 13 2016 15:57:46 +0000 Subject: PE soname support: added the designated LDFLAGS_SONAME variable. --- 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)