Strip "__.SYMDEF*" before re-archiving in combine_libs on macOS and iOS.
commiteecd137c1b91584c53dce5d0c34451bc6e50d2bb
authorAlexander Færøy <ahf@torproject.org>
Fri, 14 Oct 2022 10:12:46 +0000 (14 12:12 +0200)
committerAlexander Færøy <ahf@torproject.org>
Fri, 14 Oct 2022 10:12:46 +0000 (14 12:12 +0200)
tree68c9423ff73712f56caf868ff2a4ede47e50849f
parent5080a4ff671da572afc0744d79402447ba57096f
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