Skip to content

Commit

Permalink
cmake: Fix libdir value in pkgconfig file (#2407)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
philn authored Sep 7, 2024
1 parent 5236f02 commit 5caa192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/whisper.pc.in
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5caa192

Please sign in to comment.