It is a common misconception that ${FOO:tsc} will split FOO on 'c',
however that is not the case. To get that behaviour use ':S/c/ /g'. Fixes a number of issues on various OPSYS introduced with the recent COMPILER_* and SYSTEM_DEFAULT_RPATH abstractions.
This commit is contained in:
parent
78bdb59554
commit
25f4620492
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.buildlink3.mk,v 1.219 2013/04/28 13:37:34 obache Exp $
|
||||
# $NetBSD: bsd.buildlink3.mk,v 1.220 2013/05/13 11:38:30 jperkin Exp $
|
||||
#
|
||||
# Copyright (c) 2004 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
|
@ -850,7 +850,7 @@ _BLNK_PASSTHRU_RPATHDIRS+= ${BUILDLINK_PASSTHRU_RPATHDIRS}
|
|||
# Strip out /usr/lib (and /usr/lib${LIBABISUFFIX}}) as it's always
|
||||
# automatically in the runtime library search path.
|
||||
#
|
||||
.for _dir_ in ${SYSTEM_DEFAULT_RPATH:ts:}
|
||||
.for _dir_ in ${SYSTEM_DEFAULT_RPATH:S/:/ /g}
|
||||
_BLNK_PASSTHRU_RPATHDIRS:= ${_BLNK_PASSTHRU_RPATHDIRS:N${_dir_}}
|
||||
.endfor
|
||||
|
||||
|
|
Loading…
Reference in a new issue