Ruby: Fix cross-compilation

Ensure that builds via cargo-cross, which are executed in a docker
container, can see the shared library.
This commit is contained in:
Harry Maclean
2023-03-17 13:16:36 +13:00
parent f2fc80b3c1
commit 856132bc2f
3 changed files with 18 additions and 4 deletions

View File

@@ -1,2 +1,8 @@
[target.x86_64-unknown-linux-gnu]
image = "centos/devtoolset-7-toolchain-centos7"
[build.env]
# Provide the path to the shared extractor
# Cross mounts this directory as a volume, so builds inside the docker container
# can see it.
volumes = ["__CODEQL-EXTRACTOR=../../shared/extractor"]