package/wsapi: update coxpcall dependency
authorFrancois Perrad <fperrad@gmail.com>
Fri, 5 Apr 2019 16:03:21 +0000 (18:03 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 7 Apr 2019 08:38:24 +0000 (10:38 +0200)
since version 1.7, coxpcall is only required with Lua 5.1

see, https://github.com/keplerproject/wsapi/pull/41

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/wsapi/Config.in

index 60c029ddf638351c2c8c9c1dc47c64aa0d090822..72e2dcd8e09faf942adcdac29bdef8408e2e11fd 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_WSAPI
        bool "wsapi"
-       select BR2_PACKAGE_COXPCALL # runtime
+       select BR2_PACKAGE_COXPCALL if BR2_PACKAGE_LUA_5_1 # runtime
        select BR2_PACKAGE_LUAFILESYSTEM # runtime
        select BR2_PACKAGE_RINGS # runtime
        help