diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-12-02 00:49:42 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-12-02 00:49:42 +0000 |
commit | 08f179158cf0bac5b2a7f9eba5e6f39286cf4ea9 (patch) | |
tree | 7e0fcaf3c0b956282c8b7b8fbf0f8f0b7a8a88df /share/mk/src.libnames.mk | |
parent | 3f0c21c36ccbe2654a16bca45e96a0d1497f39df (diff) | |
download | FreeBSD-src-08f179158cf0bac5b2a7f9eba5e6f39286cf4ea9.zip FreeBSD-src-08f179158cf0bac5b2a7f9eba5e6f39286cf4ea9.tar.gz |
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
Diffstat (limited to 'share/mk/src.libnames.mk')
-rw-r--r-- | share/mk/src.libnames.mk | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index 233807e..5b5af52 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} |