]> git.proxmox.com Git - mirror_zfs-debian.git/commitdiff
Fix mount_zfs dependency on libzpool.
authorEtienne Dechamps <etienne.dechamps@ovh.net>
Thu, 30 Aug 2012 10:15:10 +0000 (12:15 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 30 Aug 2012 23:06:46 +0000 (16:06 -0700)
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 <behlendorf1@llnl.gov>
Fixes #909.

cmd/mount_zfs/Makefile.am

index 9483c76129574140f8b64db9930b60cd3cc8dd50..9741c564c81c0dae4533e1806b808970f899f51b 100644 (file)
@@ -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 = \