svn commit: r291626 - head/share/mk
Bryan Drewery
bdrewery at FreeBSD.org
Wed Dec 2 00:49:43 UTC 2015
Author: bdrewery
Date: Wed Dec 2 00:49:42 2015
New Revision: 291626
URL: https://svnweb.freebsd.org/changeset/base/291626
Log:
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
Modified:
head/share/mk/src.libnames.mk
Modified: head/share/mk/src.libnames.mk
==============================================================================
--- head/share/mk/src.libnames.mk Wed Dec 2 00:49:39 2015 (r291625)
+++ head/share/mk/src.libnames.mk Wed Dec 2 00:49:42 2015 (r291626)
@@ -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}
More information about the svn-src-head
mailing list