diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-31 17:46:19 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-08-31 20:33:41 +0200 |
commit | 3b43f166629efbb34e1b0ceeaa2f06452d0fed2f (patch) | |
tree | 0ddd9e915c206027a20f6f647c4e3a7519d862ca /mkfs/Makemodule.am | |
parent | 2ac43d981859bda063e7067371c1cf246c7f81b0 (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/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 |