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 <[email protected]>
---
 meta-oe/recipes-graphics/fontforge/fontforge_20251009.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
 
-- 
2.53.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#125758): 
https://lists.openembedded.org/g/openembedded-devel/message/125758
Mute This Topic: https://lists.openembedded.org/mt/118520421/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to