diff --git a/Cross.toml b/Cross.toml index 4ac14306..3c38e5cc 100644 --- a/Cross.toml +++ b/Cross.toml @@ -6,7 +6,6 @@ passthrough = [ "BUILD_TARGET", "CARGO_BUILD_TARGET", "TARGET_CFLAGS", - "CC_aarch64_unknown_linux_gnu", "PKG_CONFIG_SYSROOT_DIR", "PKG_CONFIG_ALLOW_CROSS", "RUSTFLAGS", @@ -31,8 +30,6 @@ pre-build = "./scripts/cross_compile_ubuntu_18-pre-build.sh" [target.aarch64-unknown-linux-gnu.env] passthrough = [ - "CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc", - "PKG_CONFIG_SYSROOT_DIR=/usr/lib/aarch64-linux-gnu/", "PKG_CONFIG_ALLOW_CROSS=true", ] diff --git a/scripts/cross_compile_ubuntu_18-pre-build.sh b/scripts/cross_compile_ubuntu_18-pre-build.sh index e93f2a10..203b1575 100755 --- a/scripts/cross_compile_ubuntu_18-pre-build.sh +++ b/scripts/cross_compile_ubuntu_18-pre-build.sh @@ -154,6 +154,7 @@ EoF # packages needed for Ledger and hidapi apt-get --assume-yes install \ + libsqlite3-dev:${CROSS_DEB_ARCH} \ libudev-dev:${CROSS_DEB_ARCH} \ libhidapi-dev:${CROSS_DEB_ARCH}