Statically link to libstc++ on Ubuntu 18.04

Somehwere between yabridge 1.1.4 and 1.2.0 we apparently started
requiring newer libstc++ features, and I kind of forgot that libstdc++
needed is bound to the version of g++ the program was compiled with.

Statically linking libstdc++ could in theory cause issues, but I think
we'll be fine.
This commit is contained in:
Robbert van der Helm
2020-06-01 00:39:29 +02:00
parent 9a6116277d
commit ce2e3ab52e
+3 -1
View File
@@ -49,7 +49,9 @@ jobs:
mkdir -p /tmp/prefix mkdir -p /tmp/prefix
export WINEPREFIX=/tmp/prefix export WINEPREFIX=/tmp/prefix
meson setup --buildtype=release --cross-file cross-wine.conf -Duse-bitbridge=true build # Statically link to libstdc++ on Ubuntu 18.04 as we're compiling
# with a newer version of g++ than what's in the default repos
meson setup --buildtype=release --cross-file cross-wine.conf -Duse-bitbridge=true -Dcpp_link_args='-static-libstdc++' -Dbuild.cpp_link_args='-static-libstdc++' build
ninja -C build ninja -C build
- name: Create an archive for the binaries - name: Create an archive for the binaries
run: | run: |