Fix mount_zfs dependency on libzpool.

mount_zfs depends on libzpool for zfs_prop_written since
330d06f90d. Unfortunately, the Makefile
for mount_zfs has not been modified to reflect this. As a result,
libtool doesn't know about the dependency, which may result in the wrong
libzpool being used during the build (e.g. the libzpool from the system
instead of the libzpool from the build directory).

This patch adds the dependency to fix the issue.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Fixes #909.
This commit is contained in:
Etienne Dechamps 2012-08-30 12:15:10 +02:00 committed by Brian Behlendorf
parent b8d06fca08
commit e6f290535c

View File

@ -16,6 +16,7 @@ mount_zfs_SOURCES = \
mount_zfs_LDADD = \ mount_zfs_LDADD = \
$(top_builddir)/lib/libuutil/libuutil.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
mount_zfs_LDFLAGS = \ mount_zfs_LDFLAGS = \