Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
SirLynix authored Jan 1, 2024
1 parent 03ab214 commit 5fa6faa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/c/cmake/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ package("cmake")
end)

on_install("@bsd", function (package)
os.vrunv("sh", {"./bootstrap", "--parallel=6", "--prefix=" .. package:installdir()})
import("core.base.option")
os.vrunv("sh", {"./bootstrap", "--parallel=" .. (option.get("jobs") or tostring(os.default_njob())), "--prefix=" .. package:installdir()})
import("package.tools.make").install(package)
end)

Expand Down

0 comments on commit 5fa6faa

Please sign in to comment.