devops: bundle libstdc++ from gcc-9 for Ubuntu 18.04 webkit builds (#16643)

References #16633
This commit is contained in:
Andrey Lushnikov 2022-08-18 10:48:49 -07:00 committed by GitHub
parent 59562de0ec
commit d2a950c8d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -1,2 +1,2 @@
1704
Changed: yurys@chromium.org Wed Aug 17 12:16:53 PDT 2022
1705
Changed: aslushnikov@gmail.com Thu Aug 18 20:47:20 MSK 2022

View File

@ -71,6 +71,12 @@ createZipForLinux() {
rm -f "${tmpdir}"/MiniBrowser_${port}_release.zip
done
# Bundle libstdc++ version that comes from gcc-9. gcc-9 is not default on Ubuntu 18.04
if is_linux ubuntu 18.04; then
cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 "${tmpdir}/minibrowser-wpe/lib/libstdc++.so.6"
cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 "${tmpdir}/minibrowser-gtk/lib/libstdc++.so.6"
fi
cd "$tmpdir"
# zip resulting directory and cleanup TMP.