From e6f290535c2fff8b940c4eacb1c90cbc2cfc7508 Mon Sep 17 00:00:00 2001 From: Etienne Dechamps Date: Thu, 30 Aug 2012 12:15:10 +0200 Subject: [PATCH] Fix mount_zfs dependency on libzpool. mount_zfs depends on libzpool for zfs_prop_written since 330d06f90d143b41b276796526a66a1c1fff046d. 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 Fixes #909. --- cmd/mount_zfs/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/mount_zfs/Makefile.am b/cmd/mount_zfs/Makefile.am index 9483c7612957..9741c564c81c 100644 --- a/cmd/mount_zfs/Makefile.am +++ b/cmd/mount_zfs/Makefile.am @@ -16,6 +16,7 @@ mount_zfs_SOURCES = \ mount_zfs_LDADD = \ $(top_builddir)/lib/libuutil/libuutil.la \ + $(top_builddir)/lib/libzpool/libzpool.la \ $(top_builddir)/lib/libzfs/libzfs.la mount_zfs_LDFLAGS = \