diff options
author | midipix <writeonce@midipix.org> | 2016-12-13 05:16:09 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-18 09:05:09 -0500 |
commit | e2bb7ea830ca9645accd4a121f0523e08d401499 (patch) | |
tree | b26e230c355c3aca850fb4629adb245c6b8a0b68 /sysinfo/os | |
parent | 2ec942d9be62634404e28170023a96cc8f839b25 (diff) | |
download | apimagic-e2bb7ea830ca9645accd4a121f0523e08d401499.tar.bz2 apimagic-e2bb7ea830ca9645accd4a121f0523e08d401499.tar.xz |
PE soname support: added the designated LDFLAGS_SONAME variable.
Diffstat (limited to 'sysinfo/os')
-rw-r--r-- | sysinfo/os/pe.mk | 5 |
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) |