versatica / mediasoup

Cutting Edge WebRTC Video Conferencing
https://mediasoup.org
ISC License
6.18k stars 1.12k forks source link

Fix build on musl based systems (such as Alpine Linux) #1279

Closed ibc closed 9 months ago

ibc commented 9 months ago

Fixes #1223

ibc commented 9 months ago

@nazar-pc I created a (bad) PR in flatbuffers with lot of rationale included: https://github.com/google/flatbuffers/pull/8198

Summary:

ibc commented 9 months ago

I also tried to use add_global_arguments(xxx) in flatbuffers/meson.build with the hope that it would define the macro for the parent project and other subprojects, but it's not permitted by meson because "it's unreliable". So this workaround is the best I could figure out.