From 939fc583e7e8221a457085f8e63918caa224778e Mon Sep 17 00:00:00 2001 From: ashthespy Date: Fri, 1 Nov 2019 17:01:58 +0100 Subject: [PATCH] Help `pkg-config` with explicit paths --- contrib/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/Dockerfile b/contrib/Dockerfile index 9cf2d134..74b83d31 100644 --- a/contrib/Dockerfile +++ b/contrib/Dockerfile @@ -44,6 +44,10 @@ RUN mkdir /build && \ ENV CARGO_TARGET_DIR /build ENV CARGO_HOME /build/cache ENV PKG_CONFIG_ALLOW_CROSS=1 +ENV PKG_CONFIG_PATH_aarch64-unknown-linux-gnu=/usr/lib/aarch64-linux-gnu/pkgconfig/ +ENV PKG_CONFIG_PATH_arm-unknown-linux-gnueabihf=/usr/lib/arm-linux-gnueabihf/pkgconfig/ +ENV PKG_CONFIG_PATH_arm-unknown-linux-gnueabi=/usr/lib/arm-linux-gnueabi/pkgconfig/ +ENV PKG_CONFIG_PATH_mipsel-unknown-linux-gnu=/usr/lib/mipsel-linux-gnu/pkgconfig/ ADD . /src WORKDIR /src