aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2020-07-13 17:51:35 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-10-10 21:42:15 +0200
commit8459b5d7729412bb72f48350c2f5c6fc4de0edac (patch)
treefef7da68bc6766bdc2b8afad3c8666e88e8e3e4e
parent6d0bfdf74167942835bc73a76ec3e65c89569d2c (diff)
downloadbuildroot-8459b5d7729412bb72f48350c2f5c6fc4de0edac.tar.gz
buildroot-8459b5d7729412bb72f48350c2f5c6fc4de0edac.tar.bz2
package/vlc: fix build with live555 and without openssl
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> (cherry picked from commit e0fb418f781b69b8a0a0c953bf00a2965d675c43) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/vlc/vlc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index 38d9751690..ccaaa6cd6d 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -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