From 811ac9f5465472c708fea2d6878fb13a6956f48b Mon Sep 17 00:00:00 2001 From: Kartatz <105828205+Kartatz@users.noreply.github.com> Date: Sat, 2 Sep 2023 01:16:33 -0300 Subject: [PATCH] Update to GCC 13.2 --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 6ce8f23..302e31c 100644 --- a/build.sh +++ b/build.sh @@ -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 @@ -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"