Changeset 188 for trunk/kBuild/tools


Ignore:
Timestamp:
Dec 14, 2004, 2:45:54 PM (21 years ago)
Author:
bird
Message:

Soname fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/GCC3.kmk

    r184 r188  
    6464endif
    6565TOOL_GCC3_LDFLAGS.sysmod     := -r
     66TOOL_GCC3_LD_SONAME           = -Wl,-soname=$(firstword $($(1)_SONAME.$(BUILD_TARGET).$(BUILD_TYPE)) $($(1)_SONAME.$(BUILD_TARGET)) $($(1)_SONAME.$(BUILD_TYPE)) $($(1)_SONAME) $(notdir $(2)))
    6667
    6768ifdef SLKRUNS
     
    194195        $(eval $(custom_pre))
    195196endif
    196         $(TOOL_GCC3_LD) $(TOOL_GCC3_LDFLAGS.dll) $(flags) -o $$@ $(objs) \
     197        $(TOOL_GCC3_LD) $(TOOL_GCC3_LDFLAGS.dll) $(flags) -o $$@ \
     198        $(if $(filter linux, $(BUILD_TARGET)),$(call TOOL_GCC3_LD_SONAME,$(target),$(dll))) \
     199        $(objs) \
    197200        $(foreach p,$(libpath), -L$(p)) \
    198201        $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(basename $(lib))), $(lib)))
Note: See TracChangeset for help on using the changeset viewer.