diff options
author | midipix <writeonce@midipix.org> | 2018-06-04 15:54:31 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-06-05 08:30:06 -0400 |
commit | 96fae4fddf7cb3fabde30f6fa274be0b0fe3c341 (patch) | |
tree | 9f6faa0c01e0aaff1a86f5ef80f7ff4f7d019446 | |
parent | 25d6141816649ed746d0cf9798ff2a21cd5516fb (diff) | |
download | slibtool-96fae4fddf7cb3fabde30f6fa274be0b0fe3c341.tar.bz2 slibtool-96fae4fddf7cb3fabde30f6fa274be0b0fe3c341.tar.xz |
build system: PE targets: mdso integration: support non-default --libpath.
-rw-r--r-- | sysinfo/os/pe.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysinfo/os/pe.mk b/sysinfo/os/pe.mk index 1b02484..e8e1759 100644 --- a/sysinfo/os/pe.mk +++ b/sysinfo/os/pe.mk @@ -6,6 +6,7 @@ LDFLAGS_SONAME += -Wl,-soname LDFLAGS_SONAME += -Wl,$(DSO_SONAME) LDFLAGS_SHARED += $(LDFLAGS_SONAME) +DSO_LIBPATH ?= loader PE_SUBSYSTEM ?= windows LDFLAGS_COMMON += -Wl,--subsystem=$(PE_SUBSYSTEM) @@ -38,7 +39,7 @@ clean-implib: ifeq ($(OS_IMPLIB_TOOL),mdso) $(IMPLIB_VER): $(IMPLIB_DEF) - $(MDSO) -m $(HOST_BITS) -i $(IMPLIB_VER) -n $(DSO_VER) $(IMPLIB_DEF) + $(MDSO) -m $(HOST_BITS) -i $(IMPLIB_VER) -n $(DSO_VER) -l $(DSO_LIBPATH) $< else ifeq ($(OS_IMPLIB_TOOL),dlltool) |