Skip to content

Commit 26ff1ed

Browse files
committed
ci: linux add cctools (fix)
1 parent 735e52d commit 26ff1ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
mv tmp/cctoo* tmp/cctools
3030
sed -i 's_#include_//_g' tmp/cctools/include/mach-o/loader.h
3131
sed -i -e 's=<stdint.h>=\n#include <stdint.h>\ntypedef int integer_t;\ntypedef integer_t cpu_type_t;\ntypedef integer_t cpu_subtype_t;\ntypedef integer_t cpu_threadtype_t;\ntypedef int vm_prot_t;=g' tmp/cctools/include/mach-o/loader.h
32-
cp -r tmp/cctools/include/* /usr/local/include/
32+
sudo cp -r tmp/cctools/include/* /usr/local/include/
3333
rm -rf tmp cctools.tar.gz
3434
3535
elif [ "$RUNNER_OS" == "macOS" ]; then

0 commit comments

Comments
 (0)