wbuilder: fix environment (#12665)
Use `setupkoenv` to setup LUA paths and ensure `ffi.loadlib` is loaded.
This commit is contained in:
1 parent
ee17b44b58
commit
238f0c0896
1 file changed
+1
-3
+1
-3
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user