Strip "__.SYMDEF*" before re-archiving in combine_libs on macOS and iOS.
commit256339712de21d7002129aed102b637cda634ab5
authorAlexander Færøy <ahf@torproject.org>
Fri, 14 Oct 2022 10:12:46 +0000 (14 12:12 +0200)
committerMike Perry <mikeperry-git@torproject.org>
Thu, 27 Oct 2022 15:18:01 +0000 (27 15:18 +0000)
tree1cfb80bae040d042922bf740727b9bdae2b04cbe
parenta1c40c8511b841db773e82bd8024ef3581262900
Strip "__.SYMDEF*" before re-archiving in combine_libs on macOS and iOS.

This patch changes how combine_libs works on Darwin like platforms to
make sure we don't include any `__.SYMDEF` and `__.SYMDEF SORTED`
symbols on the archive before we repack and run ${RANLIB} on the
archive.

See: tpo/core/tor#40683.
scripts/build/combine_libs