Add LIBSELINUX to mount_zfs_LDFLAGS.
authorDarik Horn <dajhorn@vanadac.com>
Sat, 17 Dec 2011 01:02:41 +0000 (19:02 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 17 Dec 2011 04:04:42 +0000 (20:04 -0800)
commitafd7da0ce72c3b3554079644d73e90fe6d2bf955
treea2f51544e57708e599333f30054d4e73c02b2362
parent28eb9213d89cb25438fcecb86e735cc3edc26ea4
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 <behlendorf1@llnl.gov>
cmd/mount_zfs/Makefile.am
cmd/mount_zfs/Makefile.in