aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-12-02 00:49:42 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-12-02 00:49:42 +0000
commited8addefb28e2d327db3b16123841165001f0192 (patch)
tree7e0fcaf3c0b956282c8b7b8fbf0f8f0b7a8a88df
parent70b19675cd9189cb60c27740aebfc2fd829b2bd8 (diff)
downloadsrc-ed8addefb28e2d327db3b16123841165001f0192.tar.gz
src-ed8addefb28e2d327db3b16123841165001f0192.zip
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
Notes
Notes: svn path=/head/; revision=291626
-rw-r--r--share/mk/src.libnames.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk
index 233807e85e5a..5b5af5287665 100644
--- a/share/mk/src.libnames.mk
+++ b/share/mk/src.libnames.mk
@@ -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}