diff options
author | midipix <writeonce@midipix.org> | 2016-04-26 11:55:17 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-26 11:58:09 -0400 |
commit | 22223cec22db107b711f1d59856971aed3c05bc6 (patch) | |
tree | fd0045c3bdfe581b8d28055ab3aa0e8219fa7982 /sysinfo/os | |
parent | 34b7fe2590d2dab2dae76fb4944ec15b4e63e9ec (diff) | |
download | apimagic-22223cec22db107b711f1d59856971aed3c05bc6.tar.bz2 apimagic-22223cec22db107b711f1d59856971aed3c05bc6.tar.xz |
build system: move implib and soname defs to pe- and elf-specific recipes.
Diffstat (limited to 'sysinfo/os')
-rw-r--r-- | sysinfo/os/elf.mk | 2 | ||||
-rw-r--r-- | sysinfo/os/pe.mk | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sysinfo/os/elf.mk b/sysinfo/os/elf.mk new file mode 100644 index 0000000..5a3940f --- /dev/null +++ b/sysinfo/os/elf.mk @@ -0,0 +1,2 @@ +LDFLAGS_SHARED += -Wl,-soname +LDFLAGS_SHARED += -Wl,$(DSO_SONAME) diff --git a/sysinfo/os/pe.mk b/sysinfo/os/pe.mk index 0b50df2..58144aa 100644 --- a/sysinfo/os/pe.mk +++ b/sysinfo/os/pe.mk @@ -1,5 +1,9 @@ LDFLAGS_IMPLIB += -Wl,--output-def LDFLAGS_IMPLIB += -Wl,$(IMPLIB_DEF) +LDFLAGS_SHARED += $(LDFLAGS_IMPLIB) + +LDFLAGS_SHARED += -Wl,-soname +LDFLAGS_SHARED += -Wl,$(DSO_SONAME) implib: implib-ver implib-soname implib-solink |