From 544249ff7761db2df61783c8731e834574df957a Mon Sep 17 00:00:00 2001 From: Thomas Devoogdt Date: Fri, 7 Feb 2025 15:46:36 +0100 Subject: [PATCH] package/fontconfig: fix build with toolchains without pthread ../test/test-crbug1004254.c:28:10: fatal error: pthread.h: No such file or directory 28 | #include | ^~~~~~~~~~~ Commit cef7358 "package/fontconfig: fix compilation on targets without pthread support" fixed compilation for targets without pthread support, but that was apparently nog enough. Back then, I tested all the targets by using `./utils/test-pkg -p fontconfig -a`, but somehow these targets didn't enable the fontconfig tests, so I didn't see this compile failure. Fix it now by explicitly disabling the fontconfig tests. Fixes: - https://autobuild.buildroot.org/results/5f0/5f0c716c20788ba49a3a9f185251ded373a764cd/build-end.log Signed-off-by: Thomas Devoogdt [Julien: reword commit log title] Signed-off-by: Julien Olivain --- package/fontconfig/fontconfig.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/fontconfig/fontconfig.mk b/package/fontconfig/fontconfig.mk index 21eba76a83..7ac8872e82 100644 --- a/package/fontconfig/fontconfig.mk +++ b/package/fontconfig/fontconfig.mk @@ -18,6 +18,7 @@ FONTCONFIG_CPE_ID_VALID = YES FONTCONFIG_CONF_OPTS = \ -Dcache-dir=/var/cache/fontconfig \ + -Dtests=disabled \ -Ddoc=disabled FONTCONFIG_CFLAGS = $(TARGET_CFLAGS)