]> git.gag.com Git - fw/openocd/commit
target/disassembler: update capstone include path to <capstone.h>
authorfatalc <cnfatal@gmail.com>
Mon, 25 Apr 2022 04:06:10 +0000 (12:06 +0800)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 30 Apr 2022 17:53:30 +0000 (17:53 +0000)
commit12d1ad0c75298d56827debcacc83c679bfbe9ac2
tree445652506763b541ee16bbadc934a874ea594de5
parent8789513fa94ff54f08eaffedce0cc6c38f44311d
target/disassembler:  update capstone include path to <capstone.h>

on macos (homebrew base) `pkg-config --cflags capstone` output with
`-I/opt/homebrew/Cellar/capstone/4.0.2/include/capstone`
gcc not find headers on parent "include" path,
causes build error `fatal error: 'capstone/capstone.h' file not found`
it's ok to change to <capstone.h> for all platforms.

Signed-off-by: fatalc <cnfatal@gmail.com>
Change-Id: Ia2e2058024d4fc1a57a8b4ea847c664d74f67efb
Reviewed-on: https://review.openocd.org/c/openocd/+/6946
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/a64_disassembler.c
src/target/arm_disassembler.c