|
|
|
@ -8,6 +8,7 @@ package("libxmake") |
|
|
|
|
"https://github.com/xmake-io/xmake.git", |
|
|
|
|
"https://gitlab.com/tboox/xmake.git") |
|
|
|
|
|
|
|
|
|
add_versions("v2.9.4", "75e2dde2bd2a48a332989b801ae65077c452d491fec517a9db27a81c8713cdc5") |
|
|
|
|
add_versions("v2.9.2", "1f617b6a4568c7eb3e8ab0f3a67c16989245adc547e3a7d1fd861acb308fb5b2") |
|
|
|
|
add_versions("v2.9.1", "a31dbef8c303aea1268068b4b1ac1aec142ac4124c7cb7d9c7eeb57c414f8d15") |
|
|
|
|
add_versions("v2.8.9", "5f793c393346ef80e47f083ade4d3c2fdfc448658a7917fda35ccd7bd2b911b8") |
|
|
|
@ -57,7 +58,7 @@ package("libxmake") |
|
|
|
|
typedef __int8 int8_t;]], '#if defined(_MSC_VER) && (_MSC_VER < 1600)\ntypedef __int8 int8_t;', {plain = true}) |
|
|
|
|
import("package.tools.xmake").install(package, configs) |
|
|
|
|
os.cp("../xmake", package:installdir("share")) |
|
|
|
|
if package:is_plat("linux", "macosx") and package:has_cfuncs("readline", {links = "readline", includes = "readline/readline.h"}) then |
|
|
|
|
if package:is_plat("linux", "macosx") and package:has_cfuncs("readline", {links = "readline", includes = {"stdio.h", "readline/readline.h"}}) then |
|
|
|
|
package:add("syslinks", "readline") |
|
|
|
|
end |
|
|
|
|
end) |
|
|
|
|