Skip to content

Commit 4e1c766

Browse files
committed
fix(crispasr): link crispasr-lib CMake target instead of crispasr
The dependency-bump regeneration of this branch reset CMakeLists.txt to master and dropped the prior link-target fix, reintroducing the `cannot find -lcrispasr` failure. Upstream CrispASR (f7838a3) defines the library as the CMake target `crispasr-lib` (with OUTPUT_NAME crispasr); there is no target named `crispasr`, so target_link_libraries falls back to a bare `-lcrispasr` linker flag that cannot be resolved. Point the link at the real target name. Verified locally: CPU cmake-configure of the bumped source generates a gocrispasr link line referencing sources/CrispASR/src/libcrispasr.a with no dangling -lcrispasr. Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Assisted-by: Claude:opus-4.8 [Claude Code]
1 parent d319412 commit 4e1c766

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/go/crispasr/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ target_include_directories(gocrispasr PRIVATE
1414
# whisper. crispasr is the referencer; the backend static libs supply the
1515
# per-architecture symbols; ggml is the math/runtime base.
1616
target_link_libraries(gocrispasr PRIVATE
17-
crispasr
17+
crispasr-lib
1818
parakeet canary canary_ctc cohere granite_speech granite_nle
1919
voxtral voxtral4b qwen3_asr qwen3_tts orpheus chatterbox indextts
2020
kokoro voxcpm2_tts m2m100 t5_translate wav2vec2-ggml vibevoice

0 commit comments

Comments
 (0)