From 5caa19240d55bfd6ee316d50fbad32c6e9c39528 Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Sat, 7 Sep 2024 09:18:17 +0100 Subject: [PATCH] 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. --- 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 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