[Buildroot] [PATCH 1/2] package/libuwsc: lua needs dynamic library

Fabrice Fontaine
2020-04-19T23:26:27Z

lua is built as a module so it needs dynamic library

Fixes:
- http://autobuild.buildroot.org/results/fe511be44e8546b58c97dc956c07f5a45e0fc3c9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/libuwsc/libuwsc.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libuwsc/libuwsc.mk b/package/libuwsc/libuwsc.mk
index 83d05a96ec..08ea72c1f3 100644
--- a/package/libuwsc/libuwsc.mk
+++ b/package/libuwsc/libuwsc.mk
@@ -36,7 +36,7 @@ else
LIBUWSC_CONF_OPTS += -DUWSC_SSL_SUPPORT=OFF
endif

-ifeq ($(BR2_PACKAGE_LUA),y)
+ifeq ($(BR2_PACKAGE_LUA):$(BR2_STATIC_LIBS),y:)
LIBUWSC_DEPENDENCIES += lua
LIBUWSC_CONF_OPTS += -DUWSC_LUA_SUPPORT=ON
else
--
2.25.1