mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Considers cases when NO_SHARED?=[no|NO] as dynamically linking
This reduces overlinking for parts of the build system where NO_SHARED is set to no/NO
This commit is contained in:
parent
eb6e1a0277
commit
e46a13884e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283549
@ -255,7 +255,7 @@ LDADD_${_l}?= -lprivate${_l}
|
||||
.else
|
||||
LDADD_${_l}?= ${LDADD_${_l}_L} -l${_l}
|
||||
.endif
|
||||
.if defined(_DP_${_l}) && defined(NO_SHARED)
|
||||
.if defined(_DP_${_l}) && defined(NO_SHARED) && (${NO_SHARED} != "no" && ${NO_SHARED} != "NO")
|
||||
.for _d in ${_DP_${_l}}
|
||||
DPADD_${_l}+= ${DPADD_${_d}}
|
||||
LDADD_${_l}+= ${LDADD_${_d}}
|
||||
|
Loading…
Reference in New Issue
Block a user