From 3b43f166629efbb34e1b0ceeaa2f06452d0fed2f Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 31 Aug 2019 17:46:19 +0200 Subject: Turn libsquashfs.a into a shared library This of course entails turning the entire project over to libtool magic. Signed-off-by: David Oberhollenzer --- mkfs/Makemodule.am | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'mkfs') 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 -- cgit v1.2.3