cisco / libsrtp

Library for SRTP (Secure Realtime Transport Protocol)
Other
1.21k stars 474 forks source link

building libsrtp as a shared lib #33

Closed klnikita closed 10 years ago

klnikita commented 11 years ago

Hello,

I guess that some users want to build libsrtp as a shared library. Or at least I know that several linux distro are applying a patch like that one : http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-libs/libsrtp/files/libsrtp-1.4.4-shared.patch ,

jfigus commented 11 years ago

We have this working here within Cisco. I don't see any issue with adding support for shared libraries to libsrtp. I'll take the action to put this into the feature-openssl branch along with the other code we're contributing.

jfigus commented 10 years ago

This should now be working in the feature-openssl branch. Please see the following commit: https://github.com/cisco/libsrtp/commit/500464233a2d4cc57c7aba9144ddc82bcf85914b

The steps to build the shared library are:

./configure --enable-openssl make libsrtp.so

traud commented 8 years ago

For those coming by an Internet search, the name of that target changed since version 1.5 (thanks to issue #100): ./configure --enable-openssl make shared_library sudo make install