summaryrefslogtreecommitdiff
path: root/mkfs/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-11 00:35:29 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-19 14:27:34 +0200
commit28b24512622785d1634a089f7d1d5c25edfb7577 (patch)
treea9ff798441dd71dc99ac73cb20edc0e0ca45fc7b /mkfs/Makemodule.am
parent0bbd84e31ec8bbe8d1e28e981c577fd56c8b8664 (diff)
Add SELinux option to gensquashfs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs/Makemodule.am')
-rw-r--r--mkfs/Makemodule.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkfs/Makemodule.am b/mkfs/Makemodule.am
index 33471fc..d8e75a2 100644
--- a/mkfs/Makemodule.am
+++ b/mkfs/Makemodule.am
@@ -1,6 +1,7 @@
gensquashfs_SOURCES = mkfs/mkfs.c mkfs/mkfs.h mkfs/block.c
gensquashfs_SOURCES += mkfs/options.c mkfs/meta.c
gensquashfs_LDADD = libsquashfs.a libfstree.a libcompress.a libutil.a
+gensquashfs_CPPFLAGS = $(AM_CPPFLAGS)
if WITH_XZ
gensquashfs_LDADD += $(XZ_LIBS)
@@ -19,6 +20,7 @@ gensquashfs_LDADD += $(LZ4_LIBS)
endif
if WITH_SELINUX
+gensquashfs_CPPFLAGS += -DWITH_SELINUX
gensquashfs_LDADD += $(LIBSELINUX_LIBS)
endif