chore: debug macOS build
This commit is contained in:
parent
c9ba846b03
commit
22a0e4145a
1 changed files with 2 additions and 1 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -121,8 +121,9 @@ jobs:
|
|||
- name: Patch
|
||||
run: |
|
||||
for f in lean leanpkg; do
|
||||
otool -L build/stage1/bin/$f
|
||||
for lib in $(otool -L build/stage1/bin/$f | tail -n +2 | cut -d' ' -f1); do
|
||||
[[ $lib ~= *lean* ]] || install_name_tool -change "$lib" "/usr/lib/$(basename $lib | sed 's/libc++\.1\.0/libc++.1/')" build/stage1/bin/$f
|
||||
[[ "$lib" ~= *lean* ]] || install_name_tool -change "$lib" "/usr/lib/$(basename $lib | sed 's/libc++\.1\.0/libc++.1/')" build/stage1/bin/$f
|
||||
done
|
||||
done
|
||||
if: matrix.name == 'macOS'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue