All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/pound: fix pcre2 detection
@ 2023-07-20 18:46 Bernd Kuhls
  2023-07-20 21:15 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2023-07-20 18:46 UTC (permalink / raw)
  To: buildroot

Without this fix configure finds the host version of pcre2-config:
checking for pcre2-config... /home/autobuild/autobuild/instance-3/output-1/host/bin/pcre2-config

Fixes:
http://autobuild.buildroot.net/results/1b9/1b98078a28b478018cf60bae35974cb4033e2af0/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/pound/pound.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/pound/pound.mk b/package/pound/pound.mk
index 550da10513..7bd7eaef2a 100644
--- a/package/pound/pound.mk
+++ b/package/pound/pound.mk
@@ -18,6 +18,8 @@ POUND_CONF_OPTS = \
 
 ifeq ($(BR2_PACKAGE_PCRE2),y)
 POUND_CONF_OPTS += --enable-pcreposix=pcre2
+POUND_CONF_ENV += \
+	ac_cv_path_PCRE2_CONFIG=$(STAGING_DIR)/usr/bin/pcre2-config
 POUND_DEPENDENCIES += pcre2
 else ifeq ($(BR2_PACKAGE_PCRE),y)
 POUND_CONF_OPTS += --enable-pcreposix=pcre1
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-20 21:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-20 18:46 [Buildroot] [PATCH 1/1] package/pound: fix pcre2 detection Bernd Kuhls
2023-07-20 21:15 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.