mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Fix linuxkms cross builds with latest pkg-config
Explicitly allow for cross-compilation with pkg-config to fix the failing libudev-sys builds.
This commit is contained in:
parent
765c773b90
commit
eebfbcd2a0
3 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes software-propert
|
|||
git config --global safe.directory '*'
|
||||
|
||||
ENV PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig
|
||||
ENV PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
# In the absence of a sysroot, the header files we install earlier (such as libfontconfig1-dev:arm64) are in /usr/include
|
||||
# so remember to teach bindgen to also look there, despite its --target.
|
||||
|
|
|
@ -20,6 +20,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes software-propert
|
|||
git config --global safe.directory '*'
|
||||
|
||||
ENV PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig
|
||||
ENV PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
# In the absence of a sysroot, the header files we install earlier (such as libfontconfig1-dev:armhf) are in /usr/include
|
||||
# so remember to teach bindgen to also look there, despite its --target.
|
||||
|
|
|
@ -20,6 +20,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes software-propert
|
|||
git config --global safe.directory '*'
|
||||
|
||||
ENV PKG_CONFIG_PATH=/usr/lib/riscv64-linux-gnu/pkgconfig
|
||||
ENV PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
# In the absence of a sysroot, the header files we install earlier (such as libfontconfig1-dev:riscv64) are in /usr/include
|
||||
# so remember to teach bindgen to also look there, despite its --target.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue