Skip to contentSkip to conversation

swupdate: disable lua in static build

PATCH New Fabrice Fontaine 2 participants 2 messages Jan 11, 2019 – Jan 24, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 package/swupdate/swupdate.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/swupdate/swupdate.mk +1 -1
index 08d6ba9372..b7ef09c924 100644
@@ -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
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 swupdate: disable lua in static build

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

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

Committed to 2018.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard