Use PYTHON_DIR and PYTHON_DIR_NATIVE for the correct build and
target library names, respectively.

Signed-off-by: Zoltán Böszörményi <[email protected]>
---
 meta-oe/recipes-graphics/fontforge/fontforge_20251009.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20251009.bb 
b/meta-oe/recipes-graphics/fontforge/fontforge_20251009.bb
index 8d65f69354..d6d70aed9d 100644
--- a/meta-oe/recipes-graphics/fontforge/fontforge_20251009.bb
+++ b/meta-oe/recipes-graphics/fontforge/fontforge_20251009.bb
@@ -34,8 +34,8 @@ PACKAGECONFIG = "readline"
 PACKAGECONFIG[readline] = "-DENABLE_READLINE=ON,-DENABLE_READLINE=OFF,readline"
 
 CFLAGS += "-fno-strict-aliasing"
-LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}"
-BUILD_LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}"
+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 (#125619): 
https://lists.openembedded.org/g/openembedded-devel/message/125619
Mute This Topic: https://lists.openembedded.org/mt/118499809/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to