package/vlc: fix build with live555 and without openssl
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 13 Jul 2020 15:51:35 +0000 (17:51 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 4 Oct 2020 10:45:09 +0000 (12:45 +0200)
Pass -DNO_OPENSSL to avoid a build failure with live555 but without
openssl

Fixes:
 - http://autobuild.buildroot.org/results/70ca93aa5c9488a4657c7bcafa40bfb2e974a5b3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/vlc/vlc.mk

index 38d97516908b6e310be39ace81a49ad50ba358a6..ccaaa6cd6d8a209a3c6acda7a95d3f628c548e13 100644 (file)
@@ -440,6 +440,9 @@ endif
 ifeq ($(BR2_PACKAGE_LIVE555),y)
 VLC_CONF_OPTS += --enable-live555
 VLC_DEPENDENCIES += live555
+ifneq ($(BR2_PACKAGE_OPENSSL),y)
+VLC_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -DNO_OPENSSL"
+endif
 else
 VLC_CONF_OPTS += --disable-live555
 endif