Let libnvpair be linked independently of libzfs.
authorDarik Horn <dajhorn@vanadac.com>
Sun, 5 Feb 2012 02:54:43 +0000 (20:54 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Feb 2012 19:37:15 +0000 (11:37 -0800)
commite67329d8e0befe79016bd3e4d52435552c554a52
tree61f33256f36288b75c4535630603296a7a3be38b
parent47621f3d76abf63e178b95a446134565cc553b1a
Let libnvpair be linked independently of libzfs.

Autoconf will fail to detect the ZoL libnvpair on systems that do not
implicitly link library runtime dependencies, which is anything that
has the GCC 4.5 DCO update.

Build libuutil before libnvpair, and put it on the the LDADD line of
the libnvpair automake template.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes: #560
lib/Makefile.am
lib/Makefile.in
lib/libnvpair/Makefile.am
lib/libnvpair/Makefile.in