mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-02-19 05:33:29 +03:00
![Etienne Dechamps](/assets/img/avatar_default.png)
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.
24 lines
617 B
Makefile
24 lines
617 B
Makefile
include $(top_srcdir)/config/Rules.am
|
|
|
|
DEFAULT_INCLUDES += \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/lib/libspl/include
|
|
|
|
#
|
|
# Ignore the prefix for the mount helper. It must be installed in /sbin/
|
|
# because this path is hardcoded in the mount(8) for security reasons.
|
|
#
|
|
sbindir=/sbin
|
|
sbin_PROGRAMS = mount.zfs
|
|
|
|
mount_zfs_SOURCES = \
|
|
$(top_srcdir)/cmd/mount_zfs/mount_zfs.c
|
|
|
|
mount_zfs_LDADD = \
|
|
$(top_builddir)/lib/libuutil/libuutil.la \
|
|
$(top_builddir)/lib/libzpool/libzpool.la \
|
|
$(top_builddir)/lib/libzfs/libzfs.la
|
|
|
|
mount_zfs_LDFLAGS = \
|
|
-pthread -lm $(ZLIB) -lrt -ldl $(LIBUUID) $(LIBBLKID) $(LIBSELINUX)
|