package/fontconfig: fix build
PATCH 1/1 package/fontconfig: fix build
../test/test-crbug1004254.c:28:10: fatal error: pthread.h: No such file or directory
28 | #include <pthread.h>
| ^~~~~~~~~~~
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
--- package/fontconfig/fontconfig.mk | 1 + 1 file changed, 1 insertion(+)
package/fontconfig/fontconfig.mk +1 -0
@@ -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)
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 11 lines · Thomas Devoogdt
../test/test-crbug1004254.c:28:10: fatal error:pthread.h: No such file or directory
28 | #include <pthread.h>| ^~~~~~~~~~~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.
Quoted 5 lines
Fixes:
-
https://autobuild.buildroot.org/results/5f0/5f0c716c20788ba49a3a9f185251ded373a764cd/build-end.logSigned-off-by Thomas Devoogdt <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot