building libsrtp as a shared lib
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 ,
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.
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
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