diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-25 22:07:32 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-25 22:07:32 +0200 |
commit | 8cc66cf51bdbf50e3476b58106627afc7adc1300 (patch) | |
tree | 733f3e23526901f16beece06d3ee9c7ee6a442fc /mkfs/Makemodule.am | |
parent | 0ad74489aee8717d13b76a3cdf2ee00f5811bf9b (diff) |
cleanup: remove unneccessary conditionals from automake files
If some library isn't present, the variable $(FOO_LIBS) simply evaluates
to empty string, so it can be simply be added to LDADD without any checks.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs/Makemodule.am')
-rw-r--r-- | mkfs/Makemodule.am | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/mkfs/Makemodule.am b/mkfs/Makemodule.am index 07ea6b6..f8e3e2c 100644 --- a/mkfs/Makemodule.am +++ b/mkfs/Makemodule.am @@ -1,26 +1,8 @@ gensquashfs_SOURCES = mkfs/mkfs.c mkfs/mkfs.h mkfs/options.c gensquashfs_LDADD = libsquashfs.a libfstree.a libcompress.a libutil.a gensquashfs_CPPFLAGS = $(AM_CPPFLAGS) - -if WITH_XZ -gensquashfs_LDADD += $(XZ_LIBS) -endif - -if WITH_GZIP -gensquashfs_LDADD += $(ZLIB_LIBS) -endif - -if WITH_LZO -gensquashfs_LDADD += $(LZO_LIBS) -endif - -if WITH_LZ4 -gensquashfs_LDADD += $(LZ4_LIBS) -endif - -if WITH_ZSTD +gensquashfs_LDADD += $(XZ_LIBS) $(ZLIB_LIBS) $(LZO_LIBS) $(LZ4_LIBS) gensquashfs_LDADD += $(ZSTD_LIBS) -endif if WITH_SELINUX gensquashfs_CPPFLAGS += -DWITH_SELINUX |