Commit cb1de513 authored by Emily's avatar Emily
Browse files

apple-sdk: fix stub processing clean‐up

`-delete-input` doesn’t work here, for whatever reason.
parent 20be50bf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -35,7 +35,8 @@ self: super: {
          | .main_library.reexported_libraries[].names[] |= select([.] | inside($libs) | not)
        ' > usr/lib/$libSystem~
        # Convert libSystem back to tbd-v4 because not all tooling supports the JSON-based format yet.
        llvm-readtapi -delete-input --filetype=tbd-v4 usr/lib/$libSystem~ -o usr/lib/$libSystem
        llvm-readtapi --filetype=tbd-v4 usr/lib/$libSystem~ -o usr/lib/$libSystem
        rm usr/lib/$libSystem~
      done
    '';
}