Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jan 31, 2024
1 parent 61fd580 commit 8393612
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions xmake/modules/package/tools/cmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ end

-- do install for make
function _install_for_make(package, configs, opt)
local jobs = "1"--_get_parallel_njobs(opt)
local jobs = _get_parallel_njobs(opt)
local argv = {"-j" .. jobs}
--if option.get("diagnosis") then
table.insert(argv, "VERBOSE=1")
Expand Down Expand Up @@ -912,7 +912,11 @@ function _install_for_make(package, configs, opt)
print("make")
os.vexecv("make", argv)
print("make install")
os.vexecv("make", {"install"})
if package:name() == "bullet3" or package:name() == "libsdl" then
os.vexecv("dtruss", {"make", "install"})
else
os.vexecv("make", {"install"})
end
end
end

Expand Down

0 comments on commit 8393612

Please sign in to comment.