Skip to content

Commit a599f20

Browse files
Merge #1317
1317: Re-add PKG_CONFIG_PATH for armhf image r=Emilgardis a=kingosticks It doesn't hurt to have this also defined for arm-unknown-linux-gnueabihf despite apt package installation being disabled by default for this platform. Fixes #1316 Co-authored-by: Nick Steel <[email protected]>
2 parents 37c681a + 47b1d38 commit a599f20

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changes/1317.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"description": "Re-add PKG_CONFIG_PATH for the arm-unknown-linux-gnueabihf target.",
3+
"issues": [1316],
4+
"type": "fixed",
5+
"breaking": false
6+
}

docker/Dockerfile.arm-unknown-linux-gnueabihf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ ENV CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER="$CROSS_TOOLCHAIN_PREFIX"gcc
3838
BINDGEN_EXTRA_CLANG_ARGS_arm_unknown_linux_gnueabihf="--sysroot=$CROSS_SYSROOT" \
3939
QEMU_LD_PREFIX="$CROSS_SYSROOT" \
4040
RUST_TEST_THREADS=1 \
41+
PKG_CONFIG_PATH="/usr/lib/arm-linux-gnueabihf/pkgconfig/:${PKG_CONFIG_PATH}" \
4142
CROSS_CMAKE_SYSTEM_NAME=Linux \
4243
CROSS_CMAKE_SYSTEM_PROCESSOR=arm \
4344
CROSS_CMAKE_CRT=gnu \

0 commit comments

Comments
 (0)