From 2cb1d032e3e99d5e502e467b610beaa32851a852 Mon Sep 17 00:00:00 2001 From: Eduardo Arias Date: Wed, 14 Aug 2024 08:46:30 -0700 Subject: [PATCH] Restore pthread LDFLAG. --- examples/multithread/Makefile.am | 1 + examples/reading_logs_with_offset/Makefile.am | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/multithread/Makefile.am b/examples/multithread/Makefile.am index 40e81dd15c..c17b431a35 100644 --- a/examples/multithread/Makefile.am +++ b/examples/multithread/Makefile.am @@ -21,6 +21,7 @@ multithread_LDFLAGS = \ -L$(top_builddir)/src/.libs/ \ $(GEOIP_LDFLAGS) \ -lmodsecurity \ + -lpthread \ -lm \ -lstdc++ \ $(LMDB_LDFLAGS) \ diff --git a/examples/reading_logs_with_offset/Makefile.am b/examples/reading_logs_with_offset/Makefile.am index 3ecda10cbb..f845c5837a 100644 --- a/examples/reading_logs_with_offset/Makefile.am +++ b/examples/reading_logs_with_offset/Makefile.am @@ -21,6 +21,7 @@ read_LDFLAGS = \ -L$(top_builddir)/src/.libs/ \ $(GEOIP_LDFLAGS) \ -lmodsecurity \ + -lpthread \ -lm \ -lstdc++ \ $(LMDB_LDFLAGS) \