slint/docker
Simon Hausmann c6534af1d1 Fix cross build of rust-skia in cross docker containers
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.
2024-02-29 15:21:12 +01:00
..
Dockerfile.aarch64-unknown-linux-gnu Fix cross build of rust-skia in cross docker containers 2024-02-29 15:21:12 +01:00
Dockerfile.armv7-unknown-linux-gnueabihf Fix cross build of rust-skia in cross docker containers 2024-02-29 15:21:12 +01:00
Dockerfile.cpp-image Fix creation of C++ docker image 2023-10-13 10:38:03 +02:00
Dockerfile.riscv64gc-unknown-linux-gnu Fix cross build of rust-skia in cross docker containers 2024-02-29 15:21:12 +01:00
Dockerfile.torizon-demos Renderer feature refactor 2023-07-27 19:11:24 +02:00
Dockerfile.x86_64-unknown-linux-gnu Update Skia Rust Bindings 2024-01-31 15:18:54 +01:00