Files
ffmpeg-PKGBUILD/070-ffmpeg-whisper.cpp-fix-pkgconfig.patch
T
2026-09-21 21:42:18 +08:00

11 lines
493 B
Diff

--- a/cmake/whisper.pc.in
+++ b/cmake/whisper.pc.in
@@ -6,5 +6,5 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDI
Name: whisper
Description: Port of OpenAI's Whisper model in C/C++
Version: @WHISPER_VERSION@
-Libs: -L${libdir} -lggml -lggml-base -lwhisper
-Cflags: -I${includedir}
+Libs: -L${libdir} -L/opt/cuda/lib64 -L/opt/cuda/lib64/stubs -lwhisper -lggml -lggml-cuda -lggml-cpu -lggml-base -lcudart -lcublas -lcuda -lnccl -lstdc++ -lm -fopenmp -fPIC
+Cflags: -I${includedir} -fopenmp -fPIC