diff options
Diffstat (limited to 'mkfs/Makemodule.am')
-rw-r--r-- | mkfs/Makemodule.am | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mkfs/Makemodule.am b/mkfs/Makemodule.am index e3331ca..1955852 100644 --- a/mkfs/Makemodule.am +++ b/mkfs/Makemodule.am @@ -1,12 +1,10 @@ gensquashfs_SOURCES = mkfs/mkfs.c mkfs/mkfs.h mkfs/options.c -gensquashfs_LDADD = libsqfshelper.a libsquashfs.a libfstree.a libutil.a +gensquashfs_LDADD = libsqfshelper.a libsquashfs.la libfstree.a libutil.la +gensquashfs_LDADD += $(LIBSELINUX_LIBS) gensquashfs_CPPFLAGS = $(AM_CPPFLAGS) -gensquashfs_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -gensquashfs_LDADD += $(XZ_LIBS) $(ZLIB_LIBS) $(LZO_LIBS) $(LZ4_LIBS) -gensquashfs_LDADD += $(ZSTD_LIBS) $(PTHREAD_LIBS) +gensquashfs_CFLAGS = $(AM_CFLAGS) if WITH_SELINUX gensquashfs_CPPFLAGS += -DWITH_SELINUX -gensquashfs_LDADD += $(LIBSELINUX_LIBS) endif bin_PROGRAMS += gensquashfs |