summaryrefslogtreecommitdiffstats
path: root/lib/libzfs/Makefile.in
diff options
context:
space:
mode:
authorGunnar Beutner <[email protected]>2011-07-02 21:34:08 +0200
committerBrian Behlendorf <[email protected]>2011-07-06 09:20:28 -0700
commit52e7c3a2e503f78a44fbe5fd9299b11c3aa98651 (patch)
treeba90f8436a25ad0072c2bde9f05a69be86bf7481 /lib/libzfs/Makefile.in
parent46e18b3f0fc13aa0859d0fef7dc829db20491ab6 (diff)
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 <[email protected]>
Diffstat (limited to 'lib/libzfs/Makefile.in')
-rw-r--r--lib/libzfs/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libzfs/Makefile.in b/lib/libzfs/Makefile.in
index 73ec60585..ad5c706af 100644
--- a/lib/libzfs/Makefile.in
+++ b/lib/libzfs/Makefile.in
@@ -113,6 +113,7 @@ LTLIBRARIES = $(lib_LTLIBRARIES)
libzfs_la_DEPENDENCIES = $(top_builddir)/lib/libspl/libspl.la \
$(top_builddir)/lib/libefi/libefi.la \
$(top_builddir)/lib/libnvpair/libnvpair.la \
+ $(top_builddir)/lib/libshare/libshare.la \
$(top_builddir)/lib/libuutil/libuutil.la \
$(top_builddir)/lib/libzpool/libzpool.la
am_libzfs_la_OBJECTS = libzfs_changelist.lo libzfs_config.lo \
@@ -337,6 +338,7 @@ libzfs_la_LIBADD = \
$(top_builddir)/lib/libspl/libspl.la \
$(top_builddir)/lib/libefi/libefi.la \
$(top_builddir)/lib/libnvpair/libnvpair.la \
+ $(top_builddir)/lib/libshare/libshare.la \
$(top_builddir)/lib/libuutil/libuutil.la \
$(top_builddir)/lib/libzpool/libzpool.la