summaryrefslogtreecommitdiff
path: root/unpack
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 /unpack
parent8d0ae0a90a8ced5393c5a259b3fe2186903d360e (diff)
Fix: programs linking against libsquashfs also need pthread
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'unpack')
-rw-r--r--unpack/Makemodule.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/unpack/Makemodule.am b/unpack/Makemodule.am
index 3d3a2d6..94aa0b2 100644
--- a/unpack/Makemodule.am
+++ b/unpack/Makemodule.am
@@ -2,7 +2,8 @@ rdsquashfs_SOURCES = unpack/rdsquashfs.c unpack/rdsquashfs.h
rdsquashfs_SOURCES += unpack/list_files.c unpack/options.c
rdsquashfs_SOURCES += unpack/restore_fstree.c unpack/describe.c
rdsquashfs_SOURCES += unpack/fill_files.c unpack/dump_xattrs.c
+rdsquashfs_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
rdsquashfs_LDADD = libcommon.a libcompat.a libsquashfs.la
-rdsquashfs_LDADD += libfstree.a $(LZO_LIBS)
+rdsquashfs_LDADD += libfstree.a $(LZO_LIBS) $(PTHREAD_LIBS)
bin_PROGRAMS += rdsquashfs