wbuilder: fix environment (#12665)

Use `setupkoenv` to setup LUA paths and ensure `ffi.loadlib` is loaded.
This commit is contained in:
Benoit Pierre authored and GitHub committed 2024-10-21 08:44:14 +02:00
1 parent ee17b44b58
commit 238f0c0896
1 file changed
+1 -3
+1 -3
View File
@@ -1,9 +1,7 @@
-- widget test utility
-- usage: ./luajit tools/wtest.lua
print(package.path)
package.path = "common/?.lua;frontend/?.lua;" .. package.path
package.cpath = "common/?.so;common/?.dll;/usr/lib/lua/?.so;" .. package.cpath
require("setupkoenv")
-- Load default settings
G_defaults = require("luadefaults"):open()