1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-04 17:15:50 +00:00

Fix dependencies in case of building statically

This commit is contained in:
Baptiste Daroussin 2014-11-24 22:32:18 +00:00
parent 873ad7fbf4
commit 440888c959
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274993

View File

@ -171,7 +171,7 @@ LDADD_${_l}_L+= -L${LIB${_l:tu}DIR}
.endif
DPADD_${_l}?= ${LIB${_l:tu}}
LDADD_${_l}?= ${LDADD_${_l}_L} -l${_l}
.if defined(${_l}_depend) && defined(NO_SHARED)
.if defined(_DP_${_l}) && defined(NO_SHARED)
.for _d in ${_DP_${_l}}
DPADD_${_l}+= ${DPADD_${_d}}
LDADD_${_l}+= ${LDADD_${_d}}