Commit Graph

8 Commits

Author SHA1 Message Date
Barut
a83a82b3f8 build: normalize input archives before Darwin libtool merge
Apple's recent libtool can warn about misaligned 64-bit archive members
and silently drop them when merging static libraries. In Ghostty this
showed up in the Darwin libtool step that builds libghostty-fat.a.

Normalize each input archive by copying it and running ranlib on the
copy
before handing it to libtool. That rewrites the archive into a layout
Apple's linker tools accept without flattening members through the
filesystem or changing Ghostty's archive format.
2026-03-30 16:59:07 -04:00
Mitchell Hashimoto
a8a42c8658 fix macos zig build test failures 2024-01-07 12:10:48 -08:00
Mitchell Hashimoto
5dc98da9a0 build compiles at least 2023-03-24 19:39:50 -07:00
Mitchell Hashimoto
8673b90299 build: use caching for Libtool and Lipo steps 2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
f30d80cabe build: must set run condition to always now 2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
1f9d4eb9f4 update to latest build API, rebase 2023-02-19 10:44:55 -08:00
Mitchell Hashimoto
6fc4b144a2 build: update libtool step docs 2023-02-19 10:44:54 -08:00
Mitchell Hashimoto
d2dd3df86a libtoolstep 2023-02-19 10:44:54 -08:00