From: Peter Korsgaard Date: Mon, 27 Jan 2014 16:09:32 +0000 (+0100) Subject: rtmpdump: don't force a crypto backend X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=999a91afa3c644ad702545ca979cce26cba08a58;p=buildroot.git 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 --- diff --git a/package/rtmpdump/Config.in b/package/rtmpdump/Config.in index c37118a458..5e9c50849f 100644 --- a/package/rtmpdump/Config.in +++ b/package/rtmpdump/Config.in @@ -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. diff --git a/package/rtmpdump/rtmpdump.mk b/package/rtmpdump/rtmpdump.mk index 7ef9ff4578..4f9d2474c1 100644 --- a/package/rtmpdump/rtmpdump.mk +++ b/package/rtmpdump/rtmpdump.mk @@ -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)