darwin.stdenv: only run install_name_tool on files

This commit is contained in:
Randy Eckenrode
2023-07-08 20:49:50 -06:00
parent feb89eed00
commit 6f6687ee24
+1 -1
View File
@@ -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
}