6 set_values("lua", "luajit")
7 set_description("Enable/Disable lua")
10 if has_config("liba-lua") then
11 add_requires(get_config("liba-lua"))
17 add_packages(get_config("liba-lua"))
18 if is_plat("windows", "mingw") then
21 add_defines("A_EXPORTS")
22 on_load(function(target
)
23 local subdir
= get_config("liba-lua")
24 local libdir
= path
.join("lib", subdir
)
25 target
:set("targetdir", path
.join(target
:targetdir(), subdir
))
26 target
:set("installfiles", target
:targetfile(), { prefixdir
= libdir
})