Skip to content

Commit

Permalink
Merge pull request #37 from LostbBlizzard/makelikegmake2-fix2
Browse files Browse the repository at this point in the history
fixed missing prefix in getFileDependencies
  • Loading branch information
Jarod42 authored Oct 20, 2024
2 parents 9bb7911 + d86e18c commit 6c1dfe1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ninja.lua
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,13 @@ local function getFileDependencies(cfg)
dependencies = {"prebuild_" .. get_key(cfg)}
end
for i = 1, #cfg.dependson do
table.insert(dependencies, cfg.dependson[i] .. "_" .. cfg.buildcfg)

local dependpostfix = ""
if cfg.platform then
dependpostfix = "_" .. cfg.platform
end

table.insert(dependencies, cfg.dependson[i] .. "_" .. cfg.buildcfg .. dependpostfix)
end
return dependencies
end
Expand Down

0 comments on commit 6c1dfe1

Please sign in to comment.