]> rtime.felk.cvut.cz Git - omk/sssa.git/commitdiff
Name of .map file of shared libraries changed
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 9 Apr 2009 10:29:01 +0000 (12:29 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 9 Apr 2009 10:29:01 +0000 (12:29 +0200)
Not the name is the name of shared library with .map appended.

snippets/linux.omk

index 63ac7a159f439a3966ab36dbc90976d75fcf6a26..4d1868483c364587c662d6562a56529695e225bb 100644 (file)
@@ -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