mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 13:37:45 +00:00
darwin.stdenv: only run install_name_tool
on files
This commit is contained in:
parent
feb89eed00
commit
6f6687ee24
@ -6,7 +6,7 @@ fixupOutputHooks+=('fixLibsystemRefs $prefix')
|
||||
|
||||
fixLibsystemRefs() {
|
||||
if [ -d "$1/bin" ]; then
|
||||
find "$1/bin" -exec \
|
||||
find "$1/bin" -type f -exec \
|
||||
@targetPrefix@install_name_tool -change @libsystem@ /usr/lib/libSystem.B.dylib {} \;
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user