mirror of
https://github.com/FliegendeWurst/raspi-oled.git
synced 2024-11-22 02:14:58 +00:00
Unbundle sqlite3 and link it instead
To run the cross compiled binary on Debian, do patchelf --set-interpreter /lib/ld-linux-armhf.so.3 raspi-oled
This commit is contained in:
parent
a24f9d86f1
commit
d8f97437e9
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -240,7 +240,6 @@ version = "0.22.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "290b64917f8b0cb885d9de0f9959fe1f775d7fa12f1da2db9001c1c8ab60f89d"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"pkg-config",
|
||||
"vcpkg",
|
||||
]
|
||||
|
@ -15,7 +15,7 @@ ssd1306 = "0.6.0"
|
||||
libc = "0.2.98"
|
||||
gpio-cdev = "0.4"
|
||||
dht-hal = "0.0.1"
|
||||
rusqlite = { version = "0.25.3", features = ["bundled"] }
|
||||
rusqlite = "0.25.3"
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
|
@ -2,6 +2,8 @@ with (import <nixpkgs> {});
|
||||
mkShell {
|
||||
nativeBuildInputs = [
|
||||
pkgsCross.muslpi.stdenv.cc
|
||||
pkgsCross.muslpi.sqlite
|
||||
];
|
||||
CARGO_TARGET_ARM_UNKNOWN_LINUX_MUSLEABIHF_LINKER = "${pkgsCross.muslpi.stdenv.cc}/bin/armv6l-unknown-linux-musleabihf-ld";
|
||||
#TARGET_CC = "${pkgsCross.muslpi.stdenv.cc}/bin/armv6l-unknown-linux-musleabihf-cc";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user