Files
ffmpeg-PKGBUILD/060-ffmpeg-whisper.cpp-fix-pkgconfig.patch
T

11 lines
474 B
Diff

--- a/cmake/whisper.pc.in
+++ b/cmake/whisper.pc.in
@@ -6,5 +6,5 @@ includedir=${prefix}/include
Name: whisper
Description: Port of OpenAI's Whisper model in C/C++
Version: @PROJECT_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 -lstdc++ -lm -fopenmp -fPIC
+Cflags: -I${includedir} -fopenmp -fPIC