aboutsummaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-12 10:22:30 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-12 10:22:30 +0100
commitc229e8909096540910db9d52689308279a1fd1d0 (patch)
tree243a386947e64b1d3f5fce739430104a2fccc508 /mkfs
parent8d0ae0a90a8ced5393c5a259b3fe2186903d360e (diff)
Fix: programs linking against libsquashfs also need pthread
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs')
-rw-r--r--mkfs/Makemodule.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkfs/Makemodule.am b/mkfs/Makemodule.am
index ce42c5e..34f3d76 100644
--- a/mkfs/Makemodule.am
+++ b/mkfs/Makemodule.am
@@ -2,8 +2,9 @@ gensquashfs_SOURCES = mkfs/mkfs.c mkfs/mkfs.h mkfs/options.c
gensquashfs_SOURCES += mkfs/dirscan.c mkfs/selinux.c
gensquashfs_LDADD = libcommon.a libsquashfs.la libfstree.a
gensquashfs_LDADD += libcompat.a $(LIBSELINUX_LIBS) $(LZO_LIBS)
+gensquashfs_LDADD += $(PTHREAD_LIBS)
gensquashfs_CPPFLAGS = $(AM_CPPFLAGS)
-gensquashfs_CFLAGS = $(AM_CFLAGS) $(LIBSELINUX_CFLAGS)
+gensquashfs_CFLAGS = $(AM_CFLAGS) $(LIBSELINUX_CFLAGS) $(PTHREAD_CFLAGS)
if WITH_SELINUX
gensquashfs_CPPFLAGS += -DWITH_SELINUX