diff mbox series

[meta-oe,10/13] fontforge: Use PYTHON_DIR

Message ID 20260326152143.2224099-11-zboszor@gmail.com
State New
Headers show
Series [meta-gnome,01/13] libuser: Stop using PYTHON_ABI | expand

Commit Message

Zoltán Böszörményi March 26, 2026, 3:14 p.m. UTC
Use PYTHON_DIR instead of the custom constructed library name.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
---
 meta-oe/recipes-graphics/fontforge/fontforge_20251009.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
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 8d65f69354..ce529e3e7b 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}"
 
 PACKAGES =+ "${PN}-python"