diff options
| author | ruki <[email protected]> | 2024-03-30 23:36:12 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-03-30 23:36:12 +0800 |
| commit | 05a9e1729b264a0b3cfed8a6df1c13e170d9e420 (patch) | |
| tree | d84a67170e7851049fcecbf60637a3bd14d3c897 /xmake/rules/platform/windows/def/xmake.lua | |
| parent | 073bd32b3d0fc31246a8708d59a3b277606db3bd (diff) | |
improve to link depfiles
Diffstat (limited to 'xmake/rules/platform/windows/def/xmake.lua')
| -rw-r--r-- | xmake/rules/platform/windows/def/xmake.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/rules/platform/windows/def/xmake.lua b/xmake/rules/platform/windows/def/xmake.lua index 8aaac52d6..5d1957b0b 100644 --- a/xmake/rules/platform/windows/def/xmake.lua +++ b/xmake/rules/platform/windows/def/xmake.lua @@ -37,6 +37,8 @@ rule("platform.windows.def") if target:is_plat("windows") then flag = "/def:" .. flag end + -- https://github.com/xmake-io/xmake/pull/4901 + target:data_add("linkdepfiles", sourcefile) target:add("shflags", flag, {force = true}) break; end |
