summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-26 11:55:17 -0400
committermidipix <writeonce@midipix.org>2016-11-11 00:22:40 -0500
commit79e6a8f9e39782378d9aa69014bf2cd43a5b177e (patch)
treebfe6b2173a158d79ff0d19ad072e9d820b7539d9 /project
parent2c2af9fd1c6730ee3ffed6c6980ab9b5c205c2c0 (diff)
downloadmdso-79e6a8f9e39782378d9aa69014bf2cd43a5b177e.tar.bz2
mdso-79e6a8f9e39782378d9aa69014bf2cd43a5b177e.tar.xz
build system: move implib and soname defs to pe- and elf-specific recipes.
Diffstat (limited to 'project')
-rw-r--r--project/custom.mk4
-rw-r--r--project/defs.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/project/custom.mk b/project/custom.mk
index 3a30273..16ff41d 100644
--- a/project/custom.mk
+++ b/project/custom.mk
@@ -1,3 +1,7 @@
ifeq ($(OS_BINFMT),PE)
include $(PROJECT_DIR)/sysinfo/os/pe.mk
endif
+
+ifeq ($(OS_BINFMT),ELF)
+include $(PROJECT_DIR)/sysinfo/os/elf.mk
+endif
diff --git a/project/defs.mk b/project/defs.mk
index e80bd59..c1d6693 100644
--- a/project/defs.mk
+++ b/project/defs.mk
@@ -52,10 +52,6 @@ LDFLAGS_SHARED = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
$(LDFLAGS_PATH) $(SHARED_LIB_DEPS) $(LDFLAGS_LAST)
-LDFLAGS_SHARED += -Wl,-soname
-LDFLAGS_SHARED += -Wl,$(DSO_SONAME)
-LDFLAGS_SHARED += $(LDFLAGS_IMPLIB)
-
LDFLAGS_APP = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
$(LDFLAGS_PATH) $(SHARED_APP_DEPS) $(LDFLAGS_LAST)