VirtualBox

Changeset 2663 in kBuild


Ignore:
Timestamp:
Oct 15, 2012 1:13:45 PM (12 years ago)
Author:
bird
Message:

OPENWATCOM-WL.kmk: Fixed double slashes in wlink response file on Windows and OS/2.

Location:
trunk/kBuild/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/OPENWATCOM-WL.kmk

    r2572 r2663  
    5050        $(QUIET)$(APPEND) -tn $(outbase).rsp \
    5151                $(if $(flags),'$(flags)',) \
    52                 'Name $(call TOOL_OPENWATCOM_FIX_SLASHES,$(out)$(if $(suffix $(out)),,.))' \
    53                 'Option Map=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(outbase)).map' \
    54                 $(foreach p,$(call TOOL_OPENWATCOM_FIX_SLASHES,$(libpath)),'LIBPath $p') \
    55         $(foreach o,$(call TOOL_OPENWATCOM_FIX_SLASHES,$(filter-out %.res,$(objs)) $(othersrc)),'$(if $(filter %.lib %.a,$l),LIB,)File $o') \
    56                 $(foreach l,$(call TOOL_OPENWATCOM_FIX_SLASHES,$(libs)),'Library $l')
     52                'Name $(call TOOL_OPENWATCOM_FIX_SLASHES_SQ,$(out)$(if $(suffix $(out)),,.))' \
     53                'Option Map=$(call TOOL_OPENWATCOM_FIX_SLASHES_SQ,$(outbase)).map' \
     54                $(foreach p,$(call TOOL_OPENWATCOM_FIX_SLASHES_SQ,$(libpath)),'LIBPath $p') \
     55                $(foreach o,$(call TOOL_OPENWATCOM_FIX_SLASHES_SQ,$(filter-out %.res,$(objs)) $(othersrc)),'$(if $(filter %.lib %.a,$l),LIB,)File $o') \
     56                $(foreach l,$(call TOOL_OPENWATCOM_FIX_SLASHES_SQ,$(libs)),'Library $l')
    5757        $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP) \
    5858                $(TOOL_OPENWATCOM_WLINK) @$(outbase).rsp
  • trunk/kBuild/tools/OPENWATCOM.kmk

    r2576 r2663  
    148148endif
    149149
     150# Functions for changing slashes (SQ = single quoted).
    150151if1of ($(KBUILD_HOST), os2 win)
    151152 TOOL_OPENWATCOM_FIX_SLASHES = $(subst /,\\,$1)
     153 TOOL_OPENWATCOM_FIX_SLASHES_SQ = $(subst /,\,$1)
    152154else
    153155 TOOL_OPENWATCOM_FIX_SLASHES = $1
     156 TOOL_OPENWATCOM_FIX_SLASHES_SQ = $1
    154157endif
    155158
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette