From 84c09815fee4d1c2571ed1ef772812cac470a8f3 Mon Sep 17 00:00:00 2001 From: orbea Date: Tue, 16 Mar 2021 11:13:45 -0700 Subject: [PATCH] build: Fix undefined pthread reference. --- tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 29b3c29fd..8ee6b75df 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -38,7 +38,8 @@ bmc_SOURCES = bmc.c bmc_LDADD = $(top_builddir)/lib/libqb.la bmcpt_SOURCES = bmcpt.c -bmcpt_LDADD = $(top_builddir)/lib/libqb.la +bmcpt_CFLAGS = $(PTHREAD_CFLAGS) +bmcpt_LDADD = $(PTHREAD_LIBS) $(top_builddir)/lib/libqb.la bms_SOURCES = bms.c bms_CFLAGS = $(GLIB_CFLAGS)