When processing DPADD, defer application of :tA (realpath)

so we do not lose /.
This commit is contained in:
Simon J. Gerraty 2013-03-22 01:34:27 +00:00
parent b1993b51d6
commit 2cb6de20c6

View File

@ -163,13 +163,13 @@ dir_list != cd ${_OBJDIR} && \
_nonlibs := ${DPADD:T:Nlib*:N*include}
.if !empty(_nonlibs)
ddep_list =
.for f in ${_nonlibs:@x@${DPADD:M*/$x}@:tA}
.for f in ${_nonlibs:@x@${DPADD:M*/$x}@}
.if exists($f.dirdep)
ddep_list += $f.dirdep
.elif exists(${f:H}.dirdep)
ddep_list += ${f:H}.dirdep
.else
dir_list += ${f:H}
dir_list += ${f:H:tA}
.endif
.endfor
.if !empty(ddep_list)