aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zhack
diff options
context:
space:
mode:
authorMaximilian Mehnert <[email protected]>2013-11-17 11:47:50 +0100
committerBrian Behlendorf <[email protected]>2013-11-20 15:44:15 -0800
commit539defc873dd1b53d7fc483947e56cbfaeebeee8 (patch)
tree2b690c3ef7f6663662d0b92f08a753dd3bb0fe3f /cmd/zhack
parente5bacf2109943b813e77185cffb7db07747a6d9c (diff)
Add missing libzfs_core to Makefiles
On some platforms symbols provided by libzfs_core and used by libzfs were not available to the linker. To avoid this issue libzfs_core has been added to the list of required libraries when building utilities which depend on libzfs. This should have been handled properly by libtool and it's still not entirely clear why it wasn't on all platforms. Signed-off-by: Brian Behlendorf <[email protected]> Closes #1841
Diffstat (limited to 'cmd/zhack')
-rw-r--r--cmd/zhack/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/zhack/Makefile.am b/cmd/zhack/Makefile.am
index 944e64257..922aef971 100644
--- a/cmd/zhack/Makefile.am
+++ b/cmd/zhack/Makefile.am
@@ -13,6 +13,7 @@ zhack_LDADD = \
$(top_builddir)/lib/libnvpair/libnvpair.la \
$(top_builddir)/lib/libuutil/libuutil.la \
$(top_builddir)/lib/libzpool/libzpool.la \
- $(top_builddir)/lib/libzfs/libzfs.la
+ $(top_builddir)/lib/libzfs/libzfs.la \
+ $(top_builddir)/lib/libzfs_core/libzfs_core.la
zhack_LDADD += $(ZLIB)