Skip to content

Commit

Permalink
Merge #1317
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
bors[bot] and kingosticks authored Aug 23, 2023
2 parents 37c681a + 47b1d38 commit a599f20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/1317.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"description": "Re-add PKG_CONFIG_PATH for the arm-unknown-linux-gnueabihf target.",
"issues": [1316],
"type": "fixed",
"breaking": false
}
1 change: 1 addition & 0 deletions docker/Dockerfile.arm-unknown-linux-gnueabihf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ ENV CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER="$CROSS_TOOLCHAIN_PREFIX"gcc
BINDGEN_EXTRA_CLANG_ARGS_arm_unknown_linux_gnueabihf="--sysroot=$CROSS_SYSROOT" \
QEMU_LD_PREFIX="$CROSS_SYSROOT" \
RUST_TEST_THREADS=1 \
PKG_CONFIG_PATH="/usr/lib/arm-linux-gnueabihf/pkgconfig/:${PKG_CONFIG_PATH}" \
CROSS_CMAKE_SYSTEM_NAME=Linux \
CROSS_CMAKE_SYSTEM_PROCESSOR=arm \
CROSS_CMAKE_CRT=gnu \
Expand Down

0 comments on commit a599f20

Please sign in to comment.