summaryrefslogtreecommitdiff
path: root/build_single.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_single.sh')
-rwxr-xr-xbuild_single.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/build_single.sh b/build_single.sh
index 6a3f8e1..741da68 100755
--- a/build_single.sh
+++ b/build_single.sh
@@ -329,23 +329,23 @@ pushd release/$repo
rm ${HOST_ABI}_libwinpthread-1.dll.xz || true
xz -e ${HOST_ABI}_libwinpthread-1.dll
####
- cp /usr/lib/gcc/${HOST_ABI}/8.3-posix/libstdc++-6.dll ${HOST_ABI}_libstdc++-6.dll
+ cp /usr/lib/gcc/${HOST_ABI}/*-posix/libstdc++-6.dll ${HOST_ABI}_libstdc++-6.dll
rm ${HOST_ABI}_libstdc++-6.dll.xz || true
xz -e ${HOST_ABI}_libstdc++-6.dll
####
- cp /usr/lib/gcc/${HOST_ABI}/8.3-posix/libssp-0.dll ${HOST_ABI}_libssp-0.dll
+ cp /usr/lib/gcc/${HOST_ABI}/*-posix/libssp-0.dll ${HOST_ABI}_libssp-0.dll
rm ${HOST_ABI}_libssp-0.dll.xz || true
xz -e ${HOST_ABI}_libssp-0.dll
fi
if [[ "$HOST_ABI" == "x86_64-w64-mingw32" ]];
then
- cp /usr/lib/gcc/${HOST_ABI}/8.3-posix/libgcc_s_seh-1.dll ${HOST_ABI}_libgcc_s_seh-1.dll
+ cp /usr/lib/gcc/${HOST_ABI}/*-posix/libgcc_s_seh-1.dll ${HOST_ABI}_libgcc_s_seh-1.dll
rm ${HOST_ABI}_libgcc_s_seh-1.dll.xz || true
xz -e ${HOST_ABI}_libgcc_s_seh-1.dll
fi
if [[ "$HOST_ABI" == "i686-w64-mingw32" ]];
then
- cp /usr/lib/gcc/${HOST_ABI}/8.3-posix/libgcc_s_sjlj-1.dll ${HOST_ABI}_libgcc_s_sjlj-1.dll
+ cp /usr/lib/gcc/${HOST_ABI}/*-posix/libgcc_s_sjlj-1.dll ${HOST_ABI}_libgcc_s_sjlj-1.dll
rm ${HOST_ABI}_libgcc_s_sjlj-1.dll.xz || true
xz -e ${HOST_ABI}_libgcc_s_sjlj-1.dll
fi