rust-sdks icon indicating copy to clipboard operation
rust-sdks copied to clipboard

Allow libwebrtc to build with host toolchain on Linux

Open hack3ric opened this issue 6 months ago • 2 comments

Introduces a new parameter --toolchain whose value defaults to sysroot, but can be changed to host to build libwebrtc in the host environment.

This could be later used in webrtc-sys' build.rs so that WebRTC could be built natively and conveniently inside cargo build, when building everything from source is desired (e.g. in a Linux distro).

hack3ric avatar May 25 '25 17:05 hack3ric

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 25 '25 17:05 CLAassistant

Thank you for starting this. It no longer works when rebased on main since libwebrtc was updated in #696. I have made another PR which works on the current main branch: #730.

Be-ing avatar Oct 08 '25 22:10 Be-ing