This is an automated email from Gerrit.

"Tarek BOCHKATI <tarek.bouchk...@gmail.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/6969

-- gerrit

commit e8b4a925401744f566ad47d7528a32797e6fde0f
Author: Tarek BOCHKATI <tarek.bouchk...@gmail.com>
Date:   Fri May 6 12:45:33 2022 +0100

    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.bouchk...@gmail.com>

diff --git a/contrib/cross-build.sh b/contrib/cross-build.sh
index 8b31a3f009..7c572f55d7 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
 
 

-- 

Reply via email to