Unverified Commit 9721bc83 authored by Randy Eckenrode's avatar Randy Eckenrode
Browse files

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.
parent 02dcaa67
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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/"