summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2019-01-11 15:33:12 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2019-01-12 14:50:24 +0100
commitb898b67209ff5c28f06d29b4e15ee671d6b64b0b (patch)
tree051da2f7712795f327e099e1e8c315ee01c2a06f
parent5d5f0ed2a0f722290dc1bc9673c3f442fbbeae70 (diff)
downloadbuildroot-b898b67209ff5c28f06d29b4e15ee671d6b64b0b.tar.gz
buildroot-b898b67209ff5c28f06d29b4e15ee671d6b64b0b.zip
package/swupdate: disable lua in static build
Since version 2018.11 and https://github.com/sbabic/swupdate/commit/624904cc18003fae413011563dac83a333f10509, bindings for LUA is a shared library so disable lua if BR2_STATIC_LIBS is set Fixes: - http://autobuild.buildroot.org/results/55767e58c211656558af7916a4e0975089a2785b Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/swupdate/swupdate.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/swupdate/swupdate.mk b/package/swupdate/swupdate.mk
index 08d6ba9372..b7ef09c924 100644
--- a/package/swupdate/swupdate.mk
+++ b/package/swupdate/swupdate.mk
@@ -44,7 +44,7 @@ else
SWUPDATE_MAKE_ENV += HAVE_LIBCURL=n
endif
-ifeq ($(BR2_PACKAGE_HAS_LUAINTERPRETER),y)
+ifeq ($(BR2_PACKAGE_HAS_LUAINTERPRETER):$(BR2_STATIC_LIBS),y:)
SWUPDATE_DEPENDENCIES += luainterpreter host-pkgconf
# defines the base name for the pkg-config file ("lua" or "luajit")
define SWUPDATE_SET_LUA_VERSION
OpenPOWER on IntegriCloud