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 <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Alexander Kanavin 2023-12-31 13:23:07 +01:00 committed by Khem Raj
parent 30b37bb09e
commit b46ee0ca65
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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}"