diff options
author | Darik Horn <[email protected]> | 2011-12-16 19:02:41 -0600 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-12-16 20:04:42 -0800 |
commit | afd7da0ce72c3b3554079644d73e90fe6d2bf955 (patch) | |
tree | a2f51544e57708e599333f30054d4e73c02b2362 /cmd/mount_zfs | |
parent | 28eb9213d89cb25438fcecb86e735cc3edc26ea4 (diff) |
Add LIBSELINUX to mount_zfs_LDFLAGS.
Regenerating the autotools configuration on Debian and Ubuntu systems
causes compilation to fail with this error message:
cmd/mount_zfs/../../cmd/mount_zfs/mount_zfs.c:403:
undefined reference to `is_selinux_enabled'
In the automake template, set "mount_zfs_LDFLAGS = ... $(LIBSELINUX)"
so that the /sbin/mount.zfs utility is linked to libselinux.
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'cmd/mount_zfs')
-rw-r--r-- | cmd/mount_zfs/Makefile.am | 2 | ||||
-rw-r--r-- | cmd/mount_zfs/Makefile.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/mount_zfs/Makefile.am b/cmd/mount_zfs/Makefile.am index 3d6b423a6..168da5cbe 100644 --- a/cmd/mount_zfs/Makefile.am +++ b/cmd/mount_zfs/Makefile.am @@ -24,4 +24,4 @@ mount_zfs_LDADD = \ $(top_builddir)/lib/libzfs/libzfs.la mount_zfs_LDFLAGS = \ - -pthread -lm $(ZLIB) -lrt -ldl $(LIBUUID) $(LIBBLKID) + -pthread -lm $(ZLIB) -lrt -ldl $(LIBUUID) $(LIBBLKID) $(LIBSELINUX) diff --git a/cmd/mount_zfs/Makefile.in b/cmd/mount_zfs/Makefile.in index e7da7c202..73660d21b 100644 --- a/cmd/mount_zfs/Makefile.in +++ b/cmd/mount_zfs/Makefile.in @@ -341,7 +341,7 @@ mount_zfs_LDADD = \ $(top_builddir)/lib/libzfs/libzfs.la mount_zfs_LDFLAGS = \ - -pthread -lm $(ZLIB) -lrt -ldl $(LIBUUID) $(LIBBLKID) + -pthread -lm $(ZLIB) -lrt -ldl $(LIBUUID) $(LIBBLKID) $(LIBSELINUX) all: all-am |