mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
Correctly specify -L for internal and private libs
This commit is contained in:
parent
85e4c389d1
commit
768987b5d0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274985
@ -157,13 +157,13 @@ LDADD_supcplusplus= -lsupc++
|
||||
|
||||
.for _l in ${_LIBRARIES}
|
||||
.if ${_PRIVATELIBS:M${_l}}
|
||||
LDADD+= -L${LIB${_l:tu}DIR}
|
||||
LDADD_${_l}_L+= -L${LIB${_l:tu}DIR}
|
||||
.endif
|
||||
.if ${_INTERNALIBS:M${_l}}
|
||||
LDADD+= -L${LIB${_l:tu}DIR}
|
||||
LDADD_${_l}_L+= -L${LIB${_l:tu}DIR}
|
||||
.endif
|
||||
DPADD_${_l}?= ${LIB${_l:tu}}
|
||||
LDADD_${_l}?= -l${_l}
|
||||
LDADD_${_l}?= ${LDADD_${_l}_L} -l${_l}
|
||||
.if defined(${_l}_depend) && defined(NO_SHARED)
|
||||
.for _d in ${_DP_${_l}}
|
||||
DPADD_${_l}+= ${DPADD_${_d}}
|
||||
|
Loading…
Reference in New Issue
Block a user