capstone/capstone.pc.in
pancake a7c1ecde05
Add the archs variable in the pkg-config file (#1828)
Usage:
 $ pkg-config --variable=archs capstone
 arm aarch64 m68k mips powerpc sparc systemz x86
 xcore tms320c64x m680x evm riscv mos65xx wasm bpf

Co-authored-by: pancake <pancake@nopcode.org>
2022-01-25 09:15:59 +08:00

14 lines
396 B
PkgConfig

prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/include/capstone
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}
archs=@CAPSTONE_ARCHITECTURES@