Skip to content

Commit 5caa192

Browse files
authored
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.
1 parent 5236f02 commit 5caa192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/whisper.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
prefix=@CMAKE_INSTALL_PREFIX@
22
exec_prefix=${prefix}
3-
libdir=${exec_prefix}/lib
3+
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
44
includedir=${prefix}/include
55

66
Name: whisper

0 commit comments

Comments
 (0)