forked from mirrors/nixpkgs
darwin: fix also .so names in darwin
Darwin does not actually require `*.dylib` extension, and some ports of unix software may still simply compile and install these as `*.so` files. Include `*.so` in the find in this case. Co-authored-by: Artturi <Artturin@artturin.com> Co-authored-by: toonn <toonn@toonn.io>
This commit is contained in:
parent
bc99b5e50c
commit
0c73f39dab
|
@ -36,5 +36,5 @@ fixDarwinDylibNames() {
|
||||||
|
|
||||||
fixDarwinDylibNamesIn() {
|
fixDarwinDylibNamesIn() {
|
||||||
local dir="$1"
|
local dir="$1"
|
||||||
fixDarwinDylibNames $(find "$dir" -name "*.dylib")
|
fixDarwinDylibNames $(find "$dir" -name "*.dylib" -o -name "*.so" -o -name "*.so.*")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue