Skip to content

Commit

Permalink
Fix broken ld.so symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
robxu9 committed Nov 15, 2021
1 parent 62bf11e commit d6e1da6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id: cache
with:
path: cross-${{matrix.targets}}.tar.xz
key: cross-${{matrix.targets}}-${{steps.get-version.outputs.version}}
key: cross-${{matrix.targets}}-${{steps.get-version.outputs.version}}-${{hashFiles('build.sh','config.mak')}}
- name: install apt packages
if: steps.cache.outputs.cache-hit != 'true'
run: |
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
id: cache
with:
path: native-${{matrix.targets}}.tar.xz
key: native-${{matrix.targets}}-${{steps.get-version.outputs.version}}
key: native-${{matrix.targets}}-${{steps.get-version.outputs.version}}-${{hashFiles('build.sh','config.mak')}}
- name: install apt packages
if: steps.cache.outputs.cache-hit != 'true'
run: |
Expand Down
6 changes: 5 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,8 @@ if [ ! -z $2 ]; then
else
make
fi
make install
make install

# fix broken /libc.so symlink
rm -v output/$1/lib/ld-musl-${1%%-*}.so.1
ln -sv libc.so output/$1/lib/ld-musl-${1%%-*}.so.1

0 comments on commit d6e1da6

Please sign in to comment.