signalapp / libsignal-protocol-c

GNU General Public License v3.0
1.41k stars 295 forks source link

make internal protobuf-c optional #103

Open tuxmaster opened 6 years ago

tuxmaster commented 6 years ago

Most Linux distributions will still have protobuf-c, so the system one shout be uses instant the internal one. And the internal only if the system don't provide it.

bowlofeggs commented 5 years ago

I would like to package this library for Fedora, but the bundled protobuf-c does present an issue for me. Fedora already has protobuf-c included in the distribution, so it would be ideal to use that. However, in the absence of that I can include the bundled one, but I need to declare its version. What is the version of the bundled protobuf-c?

What would it take to get the library to link with a system-installed protobuf-c?