EricssonResearch / cerbero

OpenWebRTC cerbero fork
GNU Lesser General Public License v2.1
19 stars 58 forks source link

Static builds for openwebrtc on all platforms #7

Open fd opened 9 years ago

fd commented 9 years ago

Is it possible to build a static version openwebrtc on all platforms? (not just iOS/Android) I'd like to make Go bindings for owr and Go works best with static dependencies.

Ps: not sure if this is the right place to ask.

stefanalund commented 9 years ago

This is the place to ask, for sure! Sounds like a fun project. I'm sure others would be interested in Go bindings.

I'll let someone else answer the question about static linking, though. @superdump?

fd commented 9 years ago

I'm sure others would be interested in Go bindings.

I'm working on gogotelehash and I know the people working on IPFS are also intereseted.

/ping @jbenet

superdump commented 9 years ago

We provide language bindings support through GObject Introspection. If you add support for Go bindings through GObject Introspection, that is probably the best route to take.

I think it should be possible to build static binaries on all platforms but it may require some modifications to cerbero. @sdroege @nirbheek?

jbenet commented 9 years ago

Very much interested in Go bindings! thanks for the mention @fd

nirbheek commented 9 years ago

@superdump Static binaries are easy to create with just autotools changes. "Fat" shared libraries with all the dependencies bundled in as static libraries are harder to do, and if that's what @fd wants, then it'd be much better if we moved all the linking hacks in post_install to autotools within openwebrtc.git first. Otherwise, post_install will just become an undecipherable and unmaintainable mess.

jbenet commented 9 years ago

(Random thought: Consider bazel. Of course it would be lots of work, but I think it would be a huge win)