Skip to content

Commit

Permalink
Update to GCC 13.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartatz committed Sep 2, 2023
1 parent a6937c7 commit 811ac9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ for target in "${targets[@]}"; do


while read name; do
echo "'${name}'"

if [[ "$(file --brief --mime-type "${name}")" != 'application/x-sharedlib' ]]; then
continue
fi
Expand All @@ -184,10 +184,10 @@ for target in "${targets[@]}"; do
if [ "${basename}" == "${soname}" ]; then
continue
fi

echo "'${name} ,${basename}"
unlink "${name}"

ln --symbolic "${soname}" "${name}"
ln --symbolic "${soname}" "${basename}"
done <<< "$(find "${toolchain_directory}/${triplet}/lib" -maxdepth '1' -mindepth '1' -type 'f' -wholename '*lib*.so*')"

sed --in-place 's|/usr/lib|.|g; s|/lib/|./|g' "${toolchain_directory}/${triplet}/lib/libc.so"
Expand Down

0 comments on commit 811ac9f

Please sign in to comment.