Commit 2ad6208
committed
fix: emit an empty archive for header-only modules
v8_heap_base_headers compiles to nothing, so ar failed with "No such file
or directory" after an otherwise complete build. The iOS runtime links
the archive by name -- what ships today is an 8-byte empty archive,
because the original script's `|| echo` hid the same failure and left a
stale placeholder behind.
Writing the empty archive deliberately keeps a genuinely missing module
loud while tolerating the header-only one.1 parent 761edd7 commit 2ad6208
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
116 | 128 | | |
117 | 129 | | |
118 | 130 | | |
| |||
0 commit comments