]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: fix static build problems caused by liburcu
authorTheodore Ts'o <tytso@mit.edu>
Mon, 31 Jan 2022 20:24:54 +0000 (15:24 -0500)
committerEric Sandeen <sandeen@redhat.com>
Mon, 31 Jan 2022 20:24:54 +0000 (15:24 -0500)
commitb3aba5752d11f2a01d79ca88fee9cd5ed3cf616a
treef6bc5ad0e36189eba51e1ed65bde096f217787b1
parent0cdc68c3110411d7c3c8a0e3ad064a044fb61ee4
xfsprogs: fix static build problems caused by liburcu

The liburcu library has a dependency on pthreads.  Hence, in order for
static builds of xfsprogs to work, $(LIBPTHREAD) needs to appear
*after* $(LUBURCU) in LLDLIBS.  Otherwise, static links of xfs_* will
fail due to undefined references of pthread_create, pthread_exit,
et. al.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
copy/Makefile
db/Makefile
growfs/Makefile
logprint/Makefile
mdrestore/Makefile
mkfs/Makefile
repair/Makefile
scrub/Makefile