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>
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.
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)