mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
fontconfig: disable tests
The tests require json-c library which is not explicit in build dependencies: ../sources/fontconfig-2.17.1/test/test-conf.c:27:10: fatal error: json.h: No such file or directory 27 | #include <json.h> The tests are not used so just disable them. (From OE-Core rev: 0d039d959c51f3402631014139c4d6208416b1b7) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
52db4985e5
commit
0068ff9810
@@ -65,6 +65,12 @@ FONTCONFIG_CACHE_DIR ?= "${localstatedir}/cache/fontconfig"
|
||||
# /usr/share/fonts is already included by default (you can change it with --with-default-fonts)
|
||||
FONTCONFIG_FONT_DIRS ?= "no"
|
||||
|
||||
EXTRA_OEMESON = " -Ddoc=disabled -Ddefault-fonts-dirs=${datadir}/fonts -Dcache-dir=${FONTCONFIG_CACHE_DIR} -Dadditional-fonts-dirs=${FONTCONFIG_FONT_DIRS}"
|
||||
EXTRA_OEMESON = "\
|
||||
-Dadditional-fonts-dirs=${FONTCONFIG_FONT_DIRS} \
|
||||
-Dcache-dir=${FONTCONFIG_CACHE_DIR} \
|
||||
-Ddefault-fonts-dirs=${datadir}/fonts \
|
||||
-Ddoc=disabled \
|
||||
-Dtests=disabled \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user