summaryrefslogtreecommitdiff
path: root/mkfs/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-28 21:10:15 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-28 23:34:17 +0200
commitf415b29255819e19ffde16018fb9ad02cbbfd17c (patch)
tree41dfa5a80fdb2015098ad5f4210acc4c21ec3cd0 /mkfs/Makemodule.am
parent5e4d53c713d3f01ae2d24a7d2311d65761b143dc (diff)
Move fstree selinux code to gensquashfs
Same rational as for the dir-scanner code: It's actually the only user and it is going to get a lot closer integerated with libsquashfs. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs/Makemodule.am')
-rw-r--r--mkfs/Makemodule.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/mkfs/Makemodule.am b/mkfs/Makemodule.am
index f1e0d0d..75fc3a4 100644
--- a/mkfs/Makemodule.am
+++ b/mkfs/Makemodule.am
@@ -3,9 +3,11 @@ gensquashfs_SOURCES += mkfs/dirscan.c
gensquashfs_LDADD = libsqfshelper.a libsquashfs.la libfstree.a libutil.la
gensquashfs_LDADD += $(LIBSELINUX_LIBS)
gensquashfs_CPPFLAGS = $(AM_CPPFLAGS)
-gensquashfs_CFLAGS = $(AM_CFLAGS)
+gensquashfs_CFLAGS = $(AM_CFLAGS) $(LIBSELINUX_CFLAGS)
+
if WITH_SELINUX
gensquashfs_CPPFLAGS += -DWITH_SELINUX
+gensquashfs_SOURCES += mkfs/selinux.c
endif
bin_PROGRAMS += gensquashfs