mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-26 23:10:32 +00:00
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
50a41e8670
commit
a7c1ecde05
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
Block a user