summaryrefslogtreecommitdiff
blob: 056140be13dfe7a4b8a2292bcca4e7d35d299fbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
cmake does not provide 'LIBSUFFIX' variables, but provides 'LIB_SUFFIX'.
https://bugs.gentoo.org/730722
--- a/capstone.pc.in
+++ b/capstone.pc.in
@@ -1,6 +1,6 @@
 prefix=@CMAKE_INSTALL_PREFIX@
 exec_prefix=${prefix}
-libdir=${prefix}/lib@LIBSUFFIX@
+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
 includedir=${prefix}/include/capstone
 
 Name: capstone