diff options
author | Brian Behlendorf <[email protected]> | 2011-03-18 14:47:19 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-03-18 14:47:19 -0700 |
commit | 716895b161e31e4db559566fa1dddc3d8d8c64c0 (patch) | |
tree | 3c4282e8670d340a0475c9533666254f7f9fdb0e /cmd | |
parent | ec49a5f0ec020fa1b0d3e915e2ffb10bbed97599 (diff) |
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
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/mount_zfs/Makefile.am | 1 | ||||
-rw-r--r-- | cmd/mount_zfs/Makefile.in | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/cmd/mount_zfs/Makefile.am b/cmd/mount_zfs/Makefile.am index f5d2db0ba..3d6b423a6 100644 --- a/cmd/mount_zfs/Makefile.am +++ b/cmd/mount_zfs/Makefile.am @@ -21,7 +21,6 @@ mount_zfs_LDADD = \ $(top_builddir)/lib/libnvpair/libnvpair.la \ $(top_builddir)/lib/libunicode/libunicode.la \ $(top_builddir)/lib/libuutil/libuutil.la \ - $(top_builddir)/lib/libzpool/libzpool.la \ $(top_builddir)/lib/libzfs/libzfs.la mount_zfs_LDFLAGS = \ diff --git a/cmd/mount_zfs/Makefile.in b/cmd/mount_zfs/Makefile.in index 18d3c6e22..776777de8 100644 --- a/cmd/mount_zfs/Makefile.in +++ b/cmd/mount_zfs/Makefile.in @@ -91,7 +91,6 @@ mount_zfs_DEPENDENCIES = $(top_builddir)/lib/libspl/libspl.la \ $(top_builddir)/lib/libnvpair/libnvpair.la \ $(top_builddir)/lib/libunicode/libunicode.la \ $(top_builddir)/lib/libuutil/libuutil.la \ - $(top_builddir)/lib/libzpool/libzpool.la \ $(top_builddir)/lib/libzfs/libzfs.la AM_V_lt = $(am__v_lt_$(V)) am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) @@ -316,7 +315,6 @@ mount_zfs_LDADD = \ $(top_builddir)/lib/libnvpair/libnvpair.la \ $(top_builddir)/lib/libunicode/libunicode.la \ $(top_builddir)/lib/libuutil/libuutil.la \ - $(top_builddir)/lib/libzpool/libzpool.la \ $(top_builddir)/lib/libzfs/libzfs.la mount_zfs_LDFLAGS = \ |