We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da18494 commit 5f2e5d5Copy full SHA for 5f2e5d5
1 file changed
build.sh
@@ -625,12 +625,12 @@ if ! (( is_native )) && [[ "${CROSS_COMPILE_TRIPLET}" != *'-darwin'* ]]; then
625
626
cp "${name}" "${toolchain_directory}/lib/${soname}"
627
628
- # libgcc_s
629
- declare name=$(realpath $("${cc}" --print-file-name='libgcc_s.so.1'))
630
-
631
# libegcc
+ declare name=$(realpath $("${cc}" --print-file-name='libegcc.so'))
+
632
if ! [ -f "${name}" ]; then
633
- declare name=$(realpath $("${cc}" --print-file-name='libegcc.so'))
+ # libgcc_s
+ declare name=$(realpath $("${cc}" --print-file-name='libgcc_s.so.1'))
634
fi
635
636
declare soname=$("${readelf}" -d "${name}" | grep 'SONAME' | sed --regexp-extended 's/.+\[(.+)\]/\1/g')
0 commit comments