File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cargo-features = ["panic-immediate-abort"]
22
33[package ]
44name = " sharun"
5- version = " 0.7.4 "
5+ version = " 0.7.5 "
66readme = " README.md"
77license = " MIT"
88repository = " https://github.com/VHSgunzo/sharun"
@@ -36,7 +36,7 @@ pyinstaller = []
3636cfg-if = " 1.0.0"
3737goblin = " 0.8.2"
3838walkdir = " 2.5.0"
39- flate2 = " 1.0.35 "
39+ flate2 = " 1.1.5 "
4040userland-execve = " 0.2.0"
4141include_file_compress = " 0.1.3"
4242nix = { version = " 0.30.1" , features = [ " fs" ] }
Original file line number Diff line number Diff line change @@ -915,6 +915,19 @@ fn main() {
915915 library_path += & format ! ( ":{ld_library_path_env}" )
916916 }
917917
918+ library_path += ":/usr/lib:/lib" ;
919+ if is_elf32_bin {
920+ library_path += ":/usr/lib32:/lib32" ;
921+ #[ cfg( target_arch = "x86_64" ) ]
922+ { library_path += ":/usr/lib/i386-linux-gnu" }
923+ } else {
924+ library_path += ":/usr/lib64:/lib64" ;
925+ #[ cfg( target_arch = "x86_64" ) ]
926+ { library_path += ":/usr/lib/x86_64-linux-gnu" }
927+ #[ cfg( target_arch = "aarch64" ) ]
928+ { library_path += ":/usr/lib/aarch64-linux-gnu" }
929+ }
930+
918931 for var_name in unset_envs {
919932 env:: remove_var ( var_name)
920933 }
You can’t perform that action at this time.
0 commit comments