$OpenBSD: patch-utils_Makefile,v 1.6 2018/05/03 21:10:49 sthen Exp $
Index: utils/Makefile
--- utils/Makefile.orig
+++ utils/Makefile
@@ -168,7 +168,7 @@ threadstorage.c: $(ASTTOPDIR)/main/threadstorage.c
 
 extconf.o: extconf.c
 
-conf2ael: LIBS+=$(AST_CLANG_BLOCKS_LIBS)
+conf2ael: LIBS+=$(AST_CLANG_BLOCKS_LIBS) -lpthread
 conf2ael: conf2ael.o ast_expr2f.o ast_expr2.o hashtab.o lock.o aelbison.o aelparse.o pbx_ael.o pval.o extconf.o strcompat.o
 
 check_expr2: $(ASTTOPDIR)/main/ast_expr2f.c $(ASTTOPDIR)/main/ast_expr2.c $(ASTTOPDIR)/main/ast_expr2.h
