From b46ee0ca65fbcb3942ffe1a806fe0451ed672c53 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Sun, 31 Dec 2023 13:23:07 +0100 Subject: [PATCH] fontforge: add a readline PACKAGECONFIG This helps with build determinism; also if readline is not in sysroot but readline-native is, fontforge erroneously decides to build with it. Signed-off-by: Alexander Kanavin Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb b/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb index 404e86b86a..31dd495fd7 100644 --- a/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb +++ b/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb @@ -24,6 +24,8 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ S = "${WORKDIR}/git" EXTRA_OECMAKE = "-DENABLE_DOCS=OFF" +PACKAGECONFIG = "readline" +PACKAGECONFIG[readline] = "-DENABLE_READLINE=ON,-DENABLE_READLINE=OFF,readline" CFLAGS += "-fno-strict-aliasing" LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}"