diff mbox series

[v2,2/2] package/vlc: fix build with live555 and without openssl

Message ID 20200713155135.1214109-2-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [v2,1/2] package/live555: fix static build with openssl | expand

Commit Message

Fabrice Fontaine July 13, 2020, 3:51 p.m. UTC
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>
---
 package/vlc/vlc.mk | 3 +++
 1 file changed, 3 insertions(+)

Comments

Peter Korsgaard Oct. 4, 2020, 10:45 a.m. UTC | #1
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

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

Committed, thanks.
diff mbox series

Patch

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