Fix 'LDFLAGS=-Wl,--as-needed' build error
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 18 Mar 2011 21:47:19 +0000 (14:47 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 18 Mar 2011 21:47:19 +0000 (14:47 -0700)
commit716895b161e31e4db559566fa1dddc3d8d8c64c0
tree3c4282e8670d340a0475c9533666254f7f9fdb0e
parentec49a5f0ec020fa1b0d3e915e2ffb10bbed97599
Fix 'LDFLAGS=-Wl,--as-needed' build error

Compiling with 'LDFLAGS=-Wl,--as-needed' exposed the fact that
there were some library linking problems introduced by mount_zfs.
In particular, the libzfs library does use nvpair symbols, and
mount_zfs contains no dependencies on libzpool.

Closes #161
Closes #162
cmd/mount_zfs/Makefile.am
cmd/mount_zfs/Makefile.in
lib/libzfs/Makefile.am
lib/libzfs/Makefile.in