Link libshare directly to libzfs
authorGunnar Beutner <gunnar@beutner.name>
Sat, 2 Jul 2011 19:34:08 +0000 (21:34 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 6 Jul 2011 16:20:28 +0000 (09:20 -0700)
commit52e7c3a2e503f78a44fbe5fd9299b11c3aa98651
treeba90f8436a25ad0072c2bde9f05a69be86bf7481
parent46e18b3f0fc13aa0859d0fef7dc829db20491ab6
Link libshare directly to libzfs

Drop usage of dlopen/dlsym for libshare.  There is no need to do
this because the zfs packages provide libshare.  Unlike on Solaris
we are guaranteed it will be available.

This avoids possible problems with hardcoding the libshare path in
the code (e.g. when users specify a different install path via
configure options).  It additionally simplifies the code which is
good for maintainability.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
lib/libzfs/Makefile.am
lib/libzfs/Makefile.in
lib/libzfs/libzfs_mount.c