aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>2022-05-06 12:45:33 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2022-05-07 17:35:37 +0000
commitd1e14abdba478c59f4b948c86191e67216941151 (patch)
treeba4c1d4f658b4cc14afbe1fbf3472a279d95b938 /contrib
parent2fa3e2489fbaf3f99e2a869f18827cf4d0d5e3c9 (diff)
downloadriscv-openocd-d1e14abdba478c59f4b948c86191e67216941151.zip
riscv-openocd-d1e14abdba478c59f4b948c86191e67216941151.tar.gz
riscv-openocd-d1e14abdba478c59f4b948c86191e67216941151.tar.bz2
cross-build.sh: fix build with capstone
since commit 12d1ad0c7529 : update capstone include path ... the generated capstone.pc is not working so fix the includedir in capstone.pc to get github action working Change-Id: I7767e181a74c73a7514eeb6293cd556a794dbfe9 Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6969 Tested-by: jenkins Reviewed-by: Tim Newsome <tim@sifive.com> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/cross-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cross-build.sh b/contrib/cross-build.sh
index 8b31a3f..7c572f5 100755
--- a/contrib/cross-build.sh
+++ b/contrib/cross-build.sh
@@ -148,7 +148,7 @@ if [ -d $CAPSTONE_SRC ] ; then
sed -i '1s;^;prefix=/usr \
exec_prefix=${prefix} \
libdir=${exec_prefix}/lib \
-includedir=${prefix}/include\n\n;' $CAPSTONE_PC_FILE
+includedir=${prefix}/include/capstone\n\n;' $CAPSTONE_PC_FILE
fi