diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-12-31 13:23:07 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-12-31 08:27:47 -0800 |
commit | b46ee0ca65fbcb3942ffe1a806fe0451ed672c53 (patch) | |
tree | f38a4a0edfeb82a2a2fb37cfa98444013ac5cb4b /meta-oe | |
parent | 30b37bb09ee52cb113c39844d92eb4aaabeb0833 (diff) | |
download | meta-openembedded-b46ee0ca65fbcb3942ffe1a806fe0451ed672c53.tar.gz |
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>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb b/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb index 404e86b86..31dd495fd 100644 --- a/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb +++ b/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb | |||
@@ -24,6 +24,8 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ | |||
24 | S = "${WORKDIR}/git" | 24 | S = "${WORKDIR}/git" |
25 | 25 | ||
26 | EXTRA_OECMAKE = "-DENABLE_DOCS=OFF" | 26 | EXTRA_OECMAKE = "-DENABLE_DOCS=OFF" |
27 | PACKAGECONFIG = "readline" | ||
28 | PACKAGECONFIG[readline] = "-DENABLE_READLINE=ON,-DENABLE_READLINE=OFF,readline" | ||
27 | 29 | ||
28 | CFLAGS += "-fno-strict-aliasing" | 30 | CFLAGS += "-fno-strict-aliasing" |
29 | LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" | 31 | LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" |