package/rtmpdump: Fix makefile when GnuTLS is used
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 17 Oct 2015 09:45:58 +0000 (11:45 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 17 Oct 2015 14:25:41 +0000 (16:25 +0200)
commitc71a72646ce70871988c703987dceaf6edf040e5
tree21692b090cf367c0e36fb43713aed9f7a0b14704
parente26b6c6bf9763e8112e200a99ad618d7d7738b7b
package/rtmpdump: Fix makefile when GnuTLS is used

In librtmp/Makefile the variable CRYPTO defaults to OpenSSL. When
building with GnuTLS support instead, librtmp.pc includes wrong
libraries:

$ grep Req output/staging/usr/lib/pkgconfig/librtmp.pc
Requires: libssl,libcrypto

using this defconfig

BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_PACKAGE_GNUTLS=y
BR2_PACKAGE_RTMPDUMP=y

Pass RTMPDUMP_CRYPTO also to INSTALL_*_CMDS to fix this problem.
Patch supposed by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/129525

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/rtmpdump/rtmpdump.mk