darwin.ICU: use llvm-strip compatible flags

llvm-strip does not support `-u`, but `--keep-undefined` is equivalent. It also does not support `-r`, but it behaves that way by default without a flag.
This commit is contained in:
Randy Eckenrode 2024-07-22 20:57:24 -04:00
parent 02dcaa6729
commit 9721bc834a
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

View File

@ -22,7 +22,8 @@ appleDerivation {
--replace-fail "/usr/bin/" "" \
--replace-fail "xcrun --sdk macosx --find" "echo -n" \
--replace-fail "xcrun --sdk macosx.internal --show-sdk-path" "echo -n /dev/null" \
--replace-fail "-install_name " "-install_name $out"
--replace-fail "-install_name " "-install_name $out" \
--replace-fail '-x -u -r -S' '-x --keep-undefined -S'
substituteInPlace icuSources/config/mh-darwin \
--replace-fail "-install_name " "-install_name $out/"