diff options
| author | ruki <[email protected]> | 2020-05-09 13:25:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-05-09 13:25:22 +0800 |
| commit | d86db607b163a594909059741a8e00f9d0fd8a0f (patch) | |
| tree | 1b238ee7382d64829b645bc9be6059c2c86dd021 /xmake/modules/package/tools/make.lua | |
| parent | 8e7714622667447c66e2256a254d20fd5c138f9d (diff) | |
uses gmake for bsd
Diffstat (limited to 'xmake/modules/package/tools/make.lua')
| -rw-r--r-- | xmake/modules/package/tools/make.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/make.lua b/xmake/modules/package/tools/make.lua index 5a9f06be5..011383366 100644 --- a/xmake/modules/package/tools/make.lua +++ b/xmake/modules/package/tools/make.lua @@ -98,5 +98,9 @@ function build(package, configs, opt) end -- do configure - os.vrunv("make", argv, {envs = opt.envs or buildenvs(package)}) + if is_host("bsd") then + os.vrunv("gmake", argv, {envs = opt.envs or buildenvs(package)}) + else + os.vrunv("make", argv, {envs = opt.envs or buildenvs(package)}) + end end |
