aboutsummaryrefslogtreecommitdiff
path: root/tar
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 /tar
parent8d0ae0a90a8ced5393c5a259b3fe2186903d360e (diff)
Fix: programs linking against libsquashfs also need pthread
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tar')
-rw-r--r--tar/Makemodule.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/tar/Makemodule.am b/tar/Makemodule.am
index 26ac95c..9d56ebb 100644
--- a/tar/Makemodule.am
+++ b/tar/Makemodule.am
@@ -1,9 +1,12 @@
sqfs2tar_SOURCES = tar/sqfs2tar.c
+sqfs2tar_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
sqfs2tar_LDADD = libcommon.a libsquashfs.la libtar.a libcompat.a
-sqfs2tar_LDADD += libfstree.a $(LZO_LIBS)
+sqfs2tar_LDADD += libfstree.a $(LZO_LIBS) $(PTHREAD_LIBS)
tar2sqfs_SOURCES = tar/tar2sqfs.c
+tar2sqfs_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
tar2sqfs_LDADD = libcommon.a libsquashfs.la libtar.a
tar2sqfs_LDADD += libfstree.a libcompat.a libfstree.a $(LZO_LIBS)
+tar2sqfs_LDADD += $(PTHREAD_LIBS)
bin_PROGRAMS += sqfs2tar tar2sqfs