package/libsrtp: fix static build with openssl
authorRomain Naour <romain.naour@openwide.fr>
Thu, 26 Feb 2015 21:30:06 +0000 (22:30 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 26 Feb 2015 22:05:38 +0000 (23:05 +0100)
commit5d156559648ae24571f9fbfd5103928fa4177616
tree5739b363593cd2c67edfceffed22f75723fe8ef1
parentdb2cbeee44867d6abe2349dad4be4c89b5af910f
package/libsrtp: fix static build with openssl

libsrtp forget to link with zlib for static build when openssl
support is requested.

The issue was reported upstream by Vicente Olivert Riera:
https://github.com/cisco/libsrtp/issues/97

Backport upstream patch for the upcoming libsrtp 1.5.2.
Since the libsrtp package already use AUTORECONF, apply only
the changes for configure.in.

Fixes:
http://autobuild.buildroot.net/results/a71/a71d85a5bb9af2ee82a8e61054025bceb03dbdeb/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libsrtp/0002-A-autoconf-checks-for-libz-and-libdl-when-OpenSSL-is.patch [new file with mode: 0644]