Commit 68dbf52
committed
fix: archive only the objects a configuration actually produced [skip ci]
Not every target exists in every configuration -- catalyst omits some of
the arm64 zlib SIMD variants -- and a glob matching nothing was handed to
ar verbatim, failing the build after an otherwise complete compile.
archive_lib now filters the glob list to what exists, which also subsumes
the header-only case. The original script papered over both with a
blanket '|| echo Failed to archive', which is how the shipped
libv8_heap_base_headers.a came to be a stale 8-byte file.1 parent a357531 commit 68dbf52
1 file changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
118 | 123 | | |
119 | 124 | | |
120 | 125 | | |
| |||
124 | 129 | | |
125 | 130 | | |
126 | 131 | | |
127 | | - | |
128 | | - | |
| 132 | + | |
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
| |||
0 commit comments