All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/turbolua: Fix optional openssl dependency
@ 2016-05-13 20:09 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2016-05-13 20:09 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=84c700c8d9ec09ad2477e42c933ec091c9085dd8
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

turbolua fails to build when we have openssl selected, because it didn't
mention openssl in the dependency list.

Fix build failure by specifying openssl in dependency list when it is
selected.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/turbolua/turbolua.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/turbolua/turbolua.mk b/package/turbolua/turbolua.mk
index cf66e70..fe6db31 100644
--- a/package/turbolua/turbolua.mk
+++ b/package/turbolua/turbolua.mk
@@ -12,9 +12,15 @@ TURBOLUA_LICENSE_FILES = LICENSE
 
 TURBOLUA_MAKE_OPTS = \
 	$(TARGET_CONFIGURE_OPTS) \
-	SSL=$(if $(BR2_PACKAGE_OPENSSL),openssl,none) \
 	LUAJIT_VERSION="$(LUAJIT_VERSION)"
 
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+TURBOLUA_MAKE_OPTS += SSL=openssl
+TURBOLUA_DEPENDENCIES += openssl
+else
+TURBOLUA_MAKE_OPTS += SSL=none
+endif
+
 define TURBOLUA_BUILD_CMDS
 	$(MAKE) $(TURBOLUA_MAKE_OPTS) -C $(@D) all
 endef

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-13 20:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-13 20:09 [Buildroot] [git commit] package/turbolua: Fix optional openssl dependency Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.