diff options
Diffstat (limited to 'sysinfo')
-rw-r--r-- | sysinfo/os/elf.mk | 4 | ||||
-rw-r--r-- | sysinfo/os/pe.mk | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sysinfo/os/elf.mk b/sysinfo/os/elf.mk index 5a3940f..6878c6a 100644 --- a/sysinfo/os/elf.mk +++ b/sysinfo/os/elf.mk @@ -1,2 +1,6 @@ +DSO_REF_VER = $(SHARED_LIB) +DSO_REF_SONAME = $(SHARED_SONAME) +DSO_REF_SOLINK = $(SHARED_SOLINK) + LDFLAGS_SHARED += -Wl,-soname LDFLAGS_SHARED += -Wl,$(DSO_SONAME) diff --git a/sysinfo/os/pe.mk b/sysinfo/os/pe.mk index e8e1759..c3c5ba0 100644 --- a/sysinfo/os/pe.mk +++ b/sysinfo/os/pe.mk @@ -1,3 +1,7 @@ +DSO_REF_VER = $(IMPLIB_VER) +DSO_REF_SONAME = $(IMPLIB_SONAME) +DSO_REF_SOLINK = $(IMPLIB_SOLINK) + LDFLAGS_IMPLIB += -Wl,--output-def LDFLAGS_IMPLIB += -Wl,$(IMPLIB_DEF) LDFLAGS_SHARED += $(LDFLAGS_IMPLIB) |