pristineio / webrtc-build-scripts

A set of build scripts useful for building WebRTC libraries for Android and iOS.
BSD 3-Clause "New" or "Revised" License
1.12k stars 448 forks source link

BoringSSL / OpenSSL conflict #134

Open mike-ferenduros opened 8 years ago

mike-ferenduros commented 8 years ago

Is there a good way to combine this lib with OpenSSL on iOS? I can't just use boringssl because it's missing support for large chunks of the API. And if I link both libjingle (=>boringssl) and openssl I get an ungodly mishmash of the two like the result of a transporter malfunction, leading to runtime errors and crashes.

There doesn't seem to be a good way to add symbol prefixes to openssl to prevent the clash (no iOS-compatible objtool), and I'm stuck for other ideas. I can't be the only one trying to do this, anyone else had any luck with it?

omochi commented 8 years ago

@mike-ferenduros

I faced same problem in my work. (not relates to this repository) I made build tool which generate dynamic library and can avoid this conflict. Please try it.

https://github.com/omochi/webrtc-ios-build