Philippe Normand commited on
Commit
a048ef3
·
unverified ·
1 Parent(s): 5e9ff52

cmake: Fix libdir value in pkgconfig file (#2407)

Browse files

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.

Files changed (1) hide show
  1. cmake/whisper.pc.in +1 -1
cmake/whisper.pc.in CHANGED
@@ -1,6 +1,6 @@
1
  prefix=@CMAKE_INSTALL_PREFIX@
2
  exec_prefix=${prefix}
3
- libdir=${exec_prefix}/lib
4
  includedir=${prefix}/include
5
 
6
  Name: whisper
 
1
  prefix=@CMAKE_INSTALL_PREFIX@
2
  exec_prefix=${prefix}
3
+ libdir=@CMAKE_INSTALL_FULL_LIBDIR@
4
  includedir=${prefix}/include
5
 
6
  Name: whisper