aboutsummaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-31 17:46:19 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-31 20:33:41 +0200
commit3b43f166629efbb34e1b0ceeaa2f06452d0fed2f (patch)
tree0ddd9e915c206027a20f6f647c4e3a7519d862ca /mkfs
parent2ac43d981859bda063e7067371c1cf246c7f81b0 (diff)
Turn libsquashfs.a into a shared library
This of course entails turning the entire project over to libtool magic. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs')
-rw-r--r--mkfs/Makemodule.am8
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