package/libuwsc: lua needs dynamic library
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 19 Apr 2020 23:26:27 +0000 (01:26 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 20 Apr 2020 05:46:09 +0000 (07:46 +0200)
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libuwsc/libuwsc.mk

index 83d05a96ec511d20607ef7dabb15a63d09740667..08ea72c1f3114ced669b3591831cfd69eca10bf6 100644 (file)
@@ -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