rtmpdump: don't force a crypto backend

rtmpdump CAN work without a crypto backend (by passing CRYPTO=), so
don't enforce gnutls.

Fixes a dependency issue as gnutls needs wchar, but rtmpdump
(and polarssl/openssl) don't.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2014-01-27 17:09:32 +01:00
parent 8e467ce2a7
commit 999a91afa3
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,6 @@
config BR2_PACKAGE_RTMPDUMP
bool "librtmp"
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_GNUTLS if !BR2_PACKAGE_POLARSSL && !BR2_PACKAGE_OPENSSL
help
rtmpdump - RTMPDump Real-Time Messaging Protocol API
Only librtmp is installed by this package.

View File

@ -19,9 +19,12 @@ ifeq ($(BR2_PACKAGE_GNUTLS),y)
else ifeq ($(BR2_PACKAGE_POLARSSL),y)
RTMPDUMP_DEPENDENCIES += polarssl
RTMPDUMP_CRYPTO = POLARSSL
else
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
RTMPDUMP_DEPENDENCIES += openssl
RTMPDUMP_CRYPTO = OPENSSL
else
# no crypto
RTMPDUMP_CRYPTO =
endif
RTMPDUMP_CFLAGS = $(TARGET_CFLAGS)