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