diff mbox series

[4/4] freetype: pass missing include paths to autoreconf

Message ID 20250225142636.703255-4-ross.burton@arm.com
State Accepted, archived
Commit 1a26f800d5fdadc990b73d17e1c373f3e8fba879
Headers show
Series [1/4] autotools: don't try and find in-tree macros | expand

Commit Message

Ross Burton Feb. 25, 2025, 2:26 p.m. UTC
Now that autotools isn't searching for every m4 file the configure fails.
This is because freetype only uses autoconf and has a manual autogen.sh
script that passes -I. itself.

As we don't call that script, pass -I . to autoreconf ourselves.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-graphics/freetype/freetype_2.13.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/freetype/freetype_2.13.3.bb b/meta/recipes-graphics/freetype/freetype_2.13.3.bb
index 30f50cc289b..100a7d95b69 100644
--- a/meta/recipes-graphics/freetype/freetype_2.13.3.bb
+++ b/meta/recipes-graphics/freetype/freetype_2.13.3.bb
@@ -23,7 +23,7 @@  inherit autotools pkgconfig multilib_header
 # Adapt autotools to work with the minimal autoconf usage in freetype
 AUTOTOOLS_SCRIPT_PATH = "${S}/builds/unix"
 CONFIGURE_SCRIPT = "${S}/configure"
-EXTRA_AUTORECONF += "--exclude=autoheader --exclude=automake"
+EXTRA_AUTORECONF += "--exclude=autoheader --exclude=automake -I ."
 
 PACKAGECONFIG ??= "zlib pixmap"