diff --git a/.changes/1385.json b/.changes/1385.json new file mode 100644 index 000000000..deb6f0f16 --- /dev/null +++ b/.changes/1385.json @@ -0,0 +1,6 @@ +{ + "description": "Set PKG_CONFIG_PATH in the FreeBSD Dockerfile.", + "issues": [1384], + "type": "fixed" +} + diff --git a/docker/Dockerfile.x86_64-unknown-freebsd b/docker/Dockerfile.x86_64-unknown-freebsd index 1fecaed42..eda51f18b 100644 --- a/docker/Dockerfile.x86_64-unknown-freebsd +++ b/docker/Dockerfile.x86_64-unknown-freebsd @@ -32,6 +32,7 @@ ENV CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER="$CROSS_TOOLCHAIN_PREFIX"gcc.sh \ CMAKE_TOOLCHAIN_FILE_x86_64_unknown_freebsd=/opt/toolchain.cmake \ BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_freebsd="--sysroot=$CROSS_SYSROOT" \ X86_64_UNKNOWN_FREEBSD_OPENSSL_DIR="$CROSS_SYSROOT" \ + PKG_CONFIG_PATH="${CROSS_SYSROOT}/libdata/pkgconfig/:${PKG_CONFIG_PATH}" \ CROSS_CMAKE_SYSTEM_NAME=FreeBSD \ CROSS_CMAKE_SYSTEM_PROCESSOR=amd64 \ CROSS_CMAKE_CRT=freebsd \