fix lua for android

pull/19/head
ruki 6 years ago
parent 659402a9fc
commit fe46967400
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 3
      packages/l/lua/xmake.lua

@ -36,13 +36,14 @@ package("lua")
end
target("lua")
set_enabled(%s)
set_kind("binary")
add_files("src/lua.c")
add_deps("lualib")
if not is_plat("windows") then
add_syslinks("dl")
end
]], package:config("shared") and "shared" or "static"))
]], package:config("shared") and "shared" or "static"), is_plat(os.host()) and "true" or "false")
import("package.tools.xmake").install(package)
end)

Loading…
Cancel
Save