Commit 7527e1c
Fix Windows: rename ggml .a files to add lib prefix after cmake build
CMake on MSYS2 outputs ggml.a, ggml-base.a, ggml-cpu.a without the
"lib" prefix. CMAKE_STATIC_LIBRARY_PREFIX doesn't propagate to the ggml
subdirectory. Instead, rename any .a files missing the prefix after build
so the linker's -lggml flags can find them.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7f05ae7 commit 7527e1c
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
160 | 163 | | |
161 | 164 | | |
162 | 165 | | |
| |||
0 commit comments