Skip to content

Commit

Permalink
ci: linux add cctools (fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
tihmstar committed Aug 1, 2024
1 parent 735e52d commit 26ff1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
mv tmp/cctoo* tmp/cctools
sed -i 's_#include_//_g' tmp/cctools/include/mach-o/loader.h
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
cp -r tmp/cctools/include/* /usr/local/include/
sudo cp -r tmp/cctools/include/* /usr/local/include/
rm -rf tmp cctools.tar.gz
elif [ "$RUNNER_OS" == "macOS" ]; then
Expand Down

0 comments on commit 26ff1ed

Please sign in to comment.