From bb88bc0f1b2d40a8eea63d22ee9b8b325e82aecf Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Fri, 6 Sep 2024 11:05:43 +0100 Subject: [PATCH] cmake: Fix libdir value in pkgconfig file 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. --- cmake/whisper.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/whisper.pc.in b/cmake/whisper.pc.in index 67aaafdeaae..50ab4f8285a 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