Don't overlink libmt consumers with libsbuf.

This change came in r281332 which was reducing overlinking in mt(1) but
currently mt(1) is linked with sbuf when it does not need it due to the
LDADD_mt+=${LDADD_sbuf}.  Only libmt needs sbuf.

Add sbuf to _DP_mt so static linkage of libmt picks it up.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2015-12-02 00:49:42 +00:00
parent 70b19675cd
commit ed8addefb2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291626

View File

@ -208,7 +208,7 @@ _DP_proc+= ctf
_DP_mp= crypto
_DP_memstat= kvm
_DP_magic= z
_DP_mt= bsdxml
_DP_mt= sbuf bsdxml
_DP_ldns= crypto
.if ${MK_OPENSSL} != "no"
_DP_fetch= ssl crypto
@ -284,9 +284,6 @@ LDADD_fifolog+= ${LDADD_z}
DPADD_ipf+= ${DPADD_kvm}
LDADD_ipf+= ${LDADD_kvm}
DPADD_mt+= ${DPADD_sbuf}
LDADD_mt+= ${LDADD_sbuf}
DPADD_dtrace+= ${DPADD_ctf} ${DPADD_elf} ${DPADD_proc}
LDADD_dtrace+= ${LDADD_ctf} ${LDADD_elf} ${LDADD_proc}