Files
ffmpeg-PKGBUILD/060-ffmpeg-whisper.cpp-fix-pkgconfig.patch
T
2025-10-04 15:25:22 -03:00

11 lines
395 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} -lwhisper -lggml -lggml-cpu -lggml-base -lstdc++ -lm -fopenmp -fPIC
+Cflags: -I${includedir} -fopenmp -fPIC