Ignore:
Timestamp:
Dec 18, 2021, 2:41:28 PM (4 years ago)
Author:
bird
Message:

footer-pass2-compiling-targets.kmk: use qabspathex to apply defpath when available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer-pass2-compiling-targets.kmk

    r3415 r3521  
    10171017# Adjust paths if we got a default path.
    10181018ifneq ($(defpath),)
    1019  local libpath    := $(abspathex $(libpath),$(defpath))
    1020  local deps       := $(abspathex $(deps),$(defpath))
    1021  local orderdeps  := $(abspathex $(orderdeps),$(defpath))
    1022  othersrc := $(abspathex $(othersrc),$(defpath))
     1019 ifdef KMK_WITH_QUOTING
     1020  local libpath    := $(qabspathex ,$(libpath),$(defpath))
     1021  local deps       := $(qabspathex ,$(deps),$(defpath))
     1022  local orderdeps  := $(qabspathex ,$(orderdeps),$(defpath))
     1023  othersrc := $(qabspathex ,$(othersrc),$(defpath))
     1024 else
     1025  local libpath    := $(abspathex $(libpath),$(defpath))
     1026  local deps       := $(abspathex $(deps),$(defpath))
     1027  local orderdeps  := $(abspathex $(orderdeps),$(defpath))
     1028  othersrc := $(abspathex $(othersrc),$(defpath))
     1029 endif
    10231030 # libs are not subject to this because of the the -l<lib> stuff. Use $(<target>_DEFPATH)/lib if relative to current dir!
    10241031endif
Note: See TracChangeset for help on using the changeset viewer.