From 9e1e3a2f4ba5d1f537b7f4f70e2504f9886b8f99 Mon Sep 17 00:00:00 2001 From: orbea Date: Wed, 17 Mar 2021 09:32:51 +0000 Subject: [PATCH] build: Fix undefined pthread reference. (#440) --- 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)