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>
This commit is contained in:
parent
7c1996c873
commit
c803ce4751
1
Makefile
1
Makefile
|
@ -609,4 +609,5 @@ define generate-pkgcfg
|
|||
echo 'archive=$${libdir}/libcapstone.a' >> $(PKGCFGF)
|
||||
echo 'Libs: -L$${libdir} -lcapstone' >> $(PKGCFGF)
|
||||
echo 'Cflags: -I$${includedir}' >> $(PKGCFGF)
|
||||
echo 'archs: ${CAPSTONE_ARCHS}' >> $(PKGCFGF)
|
||||
endef
|
||||
|
|
|
@ -10,3 +10,4 @@ URL: http://www.capstone-engine.org
|
|||
archive=${libdir}/libcapstone.a
|
||||
Libs: -L${libdir} -lcapstone
|
||||
Cflags: -I${includedir}
|
||||
archs=@CAPSTONE_ARCHITECTURES@
|
||||
|
|
Loading…
Reference in New Issue