fix(dso): allow specifying extra lib folders on the cmdline
Before we were relying on LD_LIBRARY_PATH, but it is misleading as it will most likely also affect the sysroot-cleaner binary itself. This instead introduces a separate command line argument, `--ld-path`, to specify a list of paths to search. Also includes some minor refactoring.
This commit is contained in:
parent
6d06377154
commit
1922297b4a
5 changed files with 112 additions and 95 deletions
|
@ -4,7 +4,7 @@
|
|||
[package]
|
||||
name = "sysroot-cleaner"
|
||||
authors = ["Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>"]
|
||||
version = "0.1.0"
|
||||
version = "0.9.0"
|
||||
edition = "2024"
|
||||
license = "EUPL-1.2"
|
||||
readme = "README.md"
|
||||
|
@ -16,11 +16,11 @@ clap = { version = "4.5", features = ["derive"] }
|
|||
env_logger = { version = "0.11" }
|
||||
ignore = { version = "0.4" }
|
||||
indoc = { version = "2.0" }
|
||||
goblin = { version = "0.9" }
|
||||
goblin = { version = "0.10" }
|
||||
log = { version = "0.4" }
|
||||
memmap2 = { version = "0.9" }
|
||||
nix = { version = "0.30", features = ["fs"] }
|
||||
petgraph = { version = "0.8" }
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
walkdir = { version = "2" }
|
||||
bytesize = { version = "2.0" }
|
||||
bytesize = { version = "2.0" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue