mirror of
https://github.com/dslm4515/BMLFS.git
synced 2025-08-16 16:39:38 +00:00
Cargo needs runpath set to find openssl libraries at runtime
This commit is contained in:
@ -30,6 +30,9 @@ cargo build --release &&
|
||||
|
||||
unset SSL_CERT_FILE RUST_BACKTRACE
|
||||
|
||||
# Set the runpath for cargo
|
||||
sudo patchelf --set-rpath /opt/openssl/lib target/release/cargo
|
||||
|
||||
sudo mkdir -pv $BUILD/opt/rustc-1.74.0/bin &&
|
||||
sudo cp -v target/release/cargo \
|
||||
$BUILD/opt/rustc-1.74.0/bin/
|
||||
|
Reference in New Issue
Block a user