capstone/capstone.pc.in
Fernie 4470bd824f fixed hardcoded paths with variables. (#1018)
* fixed hardcoded paths with variables.

cmake pkg-config file fixed hardcoded paths with variables. CMakeLists.txt line 394 needs to be modified
> configure_file("capstone.pc.in" "capstone.pc" @ONLY)

* forgot to add 64bit support variable.
2017-09-27 09:31:42 +08:00

13 lines
348 B
PkgConfig

prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${prefix}/lib@LIBSUFFIX@
includedir=${prefix}/include
Name: capstone
Description: Capstone disassembly engine
Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@
URL: http://www.capstone-engine.org
archive=${libdir}/libcapstone.a
Libs: -L${libdir} -lcapstone
Cflags: -I${includedir}