Skip to content

Commit 766443c

Browse files
infil00pclaude
andcommitted
Fix mtmd library path in xcframework build script
The libmtmd.a library is now built in tools/mtmd/ instead of build/mtmd.build/. Updated the library path in the combine_static_libraries function to reflect the correct location. This fix allows the xcframework build to complete successfully with the mtmd library properly included in all platform variants. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent e1db9e1 commit 766443c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-xcframework.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ combine_static_libraries() {
269269
"${base_dir}/${build_dir}/ggml/src/${release_dir}/libggml-cpu.a"
270270
"${base_dir}/${build_dir}/ggml/src/ggml-metal/${release_dir}/libggml-metal.a"
271271
"${base_dir}/${build_dir}/ggml/src/ggml-blas/${release_dir}/libggml-blas.a"
272-
"${base_dir}/${build_dir}/build/mtmd.build/${release_dir}/libmtmd.a"
272+
"${base_dir}/${build_dir}/tools/mtmd/${release_dir}/libmtmd.a"
273273
"${base_dir}/${build_dir}/common/${release_dir}/libcommon.a"
274274
)
275275

0 commit comments

Comments
 (0)