]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r226940 (rmh):
authormm <mm@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 26 Sep 2012 12:36:09 +0000 (12:36 +0000)
committermm <mm@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 26 Sep 2012 12:36:09 +0000 (12:36 +0000)
commitc09b3c6749d05d5352cac40691d0319354aa594b
tree8362d628142cfbc5c34dbac78aa639da29e508f2
parentd03c4ed1c3c0e5841b0e18937d43a1fdd021fb41
MFC r226940 (rmh):

Fix a few gratuitous library dependencies. Some of the ZFS utilities
are linked with libraries they don't use:

 - zinject doesn't use libavl
 - ztest doesn't use libz
 - zdb uses neither libavl nor libz
 - zfs uses neither libbsdxml nor libm, nor libsbuf
 - zpool uses neither libbsdxml nor libm, nor libsbuf

In addition, libzfs needs libm because it uses pow(), however it isn't
linked with -lm.  This went unnoticed because all its users had -lm before.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240959 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/lib/libzfs/Makefile
cddl/sbin/zfs/Makefile
cddl/sbin/zpool/Makefile
cddl/usr.bin/zinject/Makefile
cddl/usr.bin/ztest/Makefile
cddl/usr.sbin/zdb/Makefile