diff --git a/capstone.pc.in b/capstone.pc.in index 1ffcd3543e..a48400c0cb 100644 --- a/capstone.pc.in +++ b/capstone.pc.in @@ -1,7 +1,7 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ -includedir=${prefix}/include +includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ Name: capstone Description: Capstone disassembly engine @@ -9,5 +9,5 @@ Version: @PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@ URL: http://www.capstone-engine.org archive=${libdir}/libcapstone.a Libs: -L${libdir} -lcapstone -Cflags: -I${includedir} +Cflags: -I${includedir}/capstone archs=@CAPSTONE_ARCHITECTURES@