mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
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:
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user