mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
![]() Since skia-bindings-0.71.0, bindings.cpp includes SkFontMgr_fontconfig.h, which in turn includes fontconfig/fontconfig.h. In cross docker containers, the fontconfig headers are installed in /usr/include - there's no sysroot. For the actual build of bindings.cpp, this is fine - gcc will search in /usr/include and find it. For the bindgen phase, certain clang versions do not look in -I/usr/include by default when a --target is present - generally a sensible approach probably. However in this very setup, it's okay, so teach bindgen about it by setting BINDGEN_EXTRA_CLANG_ARGS_target. Typically that's used to pass for example `--sysroot=`, but we're using it to explicitly add /usr/include. |
||
---|---|---|
.. | ||
Dockerfile.aarch64-unknown-linux-gnu | ||
Dockerfile.armv7-unknown-linux-gnueabihf | ||
Dockerfile.cpp-image | ||
Dockerfile.riscv64gc-unknown-linux-gnu | ||
Dockerfile.torizon-demos | ||
Dockerfile.x86_64-unknown-linux-gnu |