From: Michal Sojka Date: Thu, 9 Apr 2009 10:29:01 +0000 (+0200) Subject: Name of .map file of shared libraries changed X-Git-Tag: v0.1-sssa~3 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk.git/commitdiff_plain/25ff71941ba12f4b38ea76573cfb6fc0d9d02cbd Name of .map file of shared libraries changed Not the name is the name of shared library with .map appended. --- diff --git a/snippets/linux.omk b/snippets/linux.omk index 63ac7a1..4d18684 100644 --- a/snippets/linux.omk +++ b/snippets/linux.omk @@ -387,7 +387,7 @@ $(1)_shared_libs = $$(patsubst %,$(USER_LIB_DIR)/lib%.$(SOLIB_EXT),$$(filter $$( #$$(warning $(1)_shared_libs = $$($(1)_shared_libs)) $(USER_LIB_DIR)/lib$(1).$(SOLIB_EXT): $$($(1)_shared_libs) $$($(1)_objslo) @$(QUIET_CMD_ECHO) " LINK $$@" - $(Q)$(CC) --shared -Xlinker -soname=lib$(1).$(SOLIB_EXT) -Wl,-Map,$(USER_OBJS_DIR)/$(1).lib.map -o $$@ $$($(1)_objslo) $$(LOADLIBES) $$($(1)_libs:%=-l%) + $(Q)$(CC) --shared -Xlinker -soname=lib$(1).$(SOLIB_EXT) -Wl,-Map,$(USER_OBJS_DIR)/lib$(1).$(SOLIB_EXT).map -o $$@ $$($(1)_objslo) $$(LOADLIBES) $$($(1)_libs:%=-l%) endef -include $(shell true; find $(USER_BUILD_DIR) -name 'lib*.omkvar') # `true' is a hack for MinGW