From 79e6a8f9e39782378d9aa69014bf2cd43a5b177e Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 26 Apr 2016 11:55:17 -0400 Subject: build system: move implib and soname defs to pe- and elf-specific recipes. --- sysinfo/os/elf.mk | 2 ++ sysinfo/os/pe.mk | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 sysinfo/os/elf.mk (limited to 'sysinfo') 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 -- cgit v1.2.3