From 08d7d73e6b53fdceeb5c6cacd67d035c9c3120c7 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 12 Jul 2024 06:56:32 +0200 Subject: [PATCH] =?UTF-8?q?jk:=20The=20d=C3=A6mons=20want=20more=20blood?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3bc3c3f4..0f5744aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -68,20 +68,17 @@ RUN \ RUSTTARGET=x86_64-unknown-linux-gnu; \ export TARGET_CC=/usr/bin/x86-64-linux-gnu-gcc; \ export TARGET_AR=/usr/bin/x86-64-linux-gnu-ar; \ - export HOST_PKG_CONFIG_PATH=/; \ - export TARGET_PKG_CONFIG_PATH=/usr/x86-64-linux-gnu; \ + export PKG_CONFIG_PATH=/usr/x86-64-linux-gnu; \ elif [ "${TARGETPLATFORM}" = "linux/arm64" ]; then \ RUSTTARGET=aarch64-unknown-linux-gnu; \ export TARGET_CC=/usr/bin/aarch64-linux-gnu-gcc; \ export TARGET_AR=/usr/bin/aarch64-linux-gnu-ar; \ - export HOST_PKG_CONFIG_PATH=/; \ - export TARGET_PKG_CONFIG_PATH=/usr/aarch64-linux-gnu; \ + export PKG_CONFIG_PATH=/usr/aarch64-linux-gnu; \ elif [ "${TARGETPLATFORM}" = "linux/arm/v7" ]; then \ RUSTTARGET=armv7-unknown-linux-gnueabihf; \ export TARGET_CC=/usr/bin/arm-linux-gnueabihf-gcc; \ export TARGET_AR=/usr/bin/arm-linux-gnueabihf-ar; \ - export HOST_PKG_CONFIG_PATH=/; \ - export TARGET_PKG_CONFIG_PATH=/usr/arm-linux-gnueabihf; \ + export PKG_CONFIG_PATH=/usr/arm-linux-gnueabihf; \ fi && \ cargo build --all-features --bins --release --target=${RUSTTARGET}