mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 03:42:17 +00:00
using ldd, not readelf
This commit is contained in:
parent
65bc1a7c80
commit
1dbd3289ff
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ fn nixos_error_if_dynamic(url: &str, dest_dir: &PathBuf) {
|
|||
.arg("-c")
|
||||
.arg(format!("ldd {}/linux-x86_64.rh*", dest_dir.display()))
|
||||
.output()
|
||||
.expect("readelf command failed to start");
|
||||
.expect("ldd command failed to start");
|
||||
let is_static = String::from_utf8_lossy(&ldd_output.stdout).contains("statically linked");
|
||||
|
||||
if !is_static {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue