diff mbox series

[RFC,meta-oe,5/6] fontforge: Allow different PYTHON_ABI set for native and target

Message ID 20260326153210.2245962-6-zboszor@gmail.com
State New
Headers show
Series Fix some fallouts with Python free-threading enabled | expand

Commit Message

Böszörményi Zoltán March 26, 2026, 3:25 p.m. UTC
The enablement setting for Python free-threading may be different
for native and target builds.

Use PYTHON_DIR_NATIVE for BUILD_LDFLAGS to use the native build.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
---
 meta-oe/recipes-graphics/fontforge/fontforge_20251009.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20251009.bb b/meta-oe/recipes-graphics/fontforge/fontforge_20251009.bb
index ce529e3e7b..d6d70aed9d 100644
--- a/meta-oe/recipes-graphics/fontforge/fontforge_20251009.bb
+++ b/meta-oe/recipes-graphics/fontforge/fontforge_20251009.bb
@@ -35,7 +35,7 @@  PACKAGECONFIG[readline] = "-DENABLE_READLINE=ON,-DENABLE_READLINE=OFF,readline"
 
 CFLAGS += "-fno-strict-aliasing"
 LDFLAGS += "-l${PYTHON_DIR}"
-BUILD_LDFLAGS += "-l${PYTHON_DIR}"
+BUILD_LDFLAGS += "-l${PYTHON_DIR_NATIVE}"
 
 PACKAGES =+ "${PN}-python"