From: Philippe Normand Date: Sat, 7 Sep 2024 08:18:17 +0000 (+0100) Subject: cmake: Fix libdir value in pkgconfig file (#2407) X-Git-Tag: upstream/1.7.4~445 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=5caa19240d55bfd6ee316d50fbad32c6e9c39528;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp cmake: Fix libdir value in pkgconfig file (#2407) Depending on the OS the lib dir can vary, on Fedora for instance it is "${prefix}/lib64". Instead of hard-coding the directory name, let CMake fill this variable for us. --- diff --git a/cmake/whisper.pc.in b/cmake/whisper.pc.in index 67aaafde..50ab4f82 100644 --- a/cmake/whisper.pc.in +++ b/cmake/whisper.pc.in @@ -1,6 +1,6 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} -libdir=${exec_prefix}/lib +libdir=@CMAKE_INSTALL_FULL_LIBDIR@ includedir=${prefix}/include Name: whisper