[Buildroot] [PATCH 4/4] package/waffle: fix pkg_config_path value
Raphael Gallais-Pou
rgallaispou at gmail.com
Sun Oct 5 13:24:45 UTC 2025
Default path goes for $(HOST)/lib/pkgconfig. This does not work for
latest waffle version since prefix in the pkg-config file points to the
host directory. This results in the concatenation of $(STAGING_DIR)/xxx
and $(HOST_DIR)/... which ultimately resolve in a file not found.
Instead, override the default path to $(STAGING_DIR)/usr/share.
Signed-off-by: Raphael Gallais-Pou <rgallaispou at gmail.com>
---
package/waffle/waffle.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/waffle/waffle.mk b/package/waffle/waffle.mk
index 5c8d0f051c8c7b763c19ce3ecb92c09e2c4865c3..2dc36c4b23b03d3b14e66ae6838be20f3eadadcc 100644
--- a/package/waffle/waffle.mk
+++ b/package/waffle/waffle.mk
@@ -13,7 +13,8 @@ WAFFLE_LICENSE_FILES = LICENSE.txt
WAFFLE_DEPENDENCIES = host-pkgconf
-WAFFLE_CONF_OPTS = -Dbuild-tests=false \
+WAFFLE_CONF_OPTS = -Dbuild.pkg_config_path=$(STAGING_DIR)/usr/lib/pkgconfig \
+ -Dbuild-tests=false \
-Dbuild-examples=false \
-Dbuild-manpages=false \
-Dbuild-htmldocs=false \
--
2.51.0
More information about the buildroot
mailing list