Commit cc8d56e
fix(build/apple): stub resman resources + link zlib — U23/U25 for iOS
Mirror of U23 for the iOS/Apple wrapper, plus zlib linkage.
iOS run arthenica#44 (build 26059781838) failed at the wrapper link with the
same 4 ff_graph_* undefined symbols Android hit (U23), plus
inflate/inflateEnd/inflateInit2_ — zlib symbols that resman.c calls
to decompress the embedded gzipped graph.css/graph.html resources.
U23 (iOS): copy ffmpegkit_resources.c into apple/src/ and add to
libffmpegkit_la_SOURCES. Same empty-stub strategy as Android.
U25: add -lz to FFMPEG_FRAMEWORKS in apple/configure.ac so the
wrapper links against the system zlib. resman.c's inflate calls
are reachable from the build-time linker even though the empty
stub data means they're never actually invoked at runtime.
iOS doesn't need binder.c (no CONFIG_MEDIACODEC; iOS uses VideoToolbox).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 0dd16d7 commit cc8d56e
3 files changed
Lines changed: 28 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments