freebsd-nq/cddl
Robert Millan 3536206713 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.

Reviewed by:	pjd, mm
Approved by:	kib (mentor)
MFC after:	1 week
2011-10-30 16:29:04 +00:00
..
compat/opensolaris Remove C constructs that are incompatible with C++ from various 2011-06-10 20:10:30 +00:00
contrib Update copyright to include myself. 2011-10-24 21:22:55 +00:00
lib Fix a few gratuitous library dependencies. Some of the ZFS utilities 2011-10-30 16:29:04 +00:00
sbin Fix a few gratuitous library dependencies. Some of the ZFS utilities 2011-10-30 16:29:04 +00:00
usr.bin Fix a few gratuitous library dependencies. Some of the ZFS utilities 2011-10-30 16:29:04 +00:00
usr.sbin Fix a few gratuitous library dependencies. Some of the ZFS utilities 2011-10-30 16:29:04 +00:00
Makefile Apply a set of style.Makefile(5) changes to src/cddl/ makefiles. 2007-04-16 21:20:26 +00:00
Makefile.inc Do not lint code beyond necessity (with apologies to Wiliam of Ockham). 2010-11-18 16:32:52 +00:00