diff options
| author | Saikari <[email protected]> | 2026-02-26 10:25:13 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-02-26 10:25:13 +0300 |
| commit | 87bcb3ba85935c7a1a32d74a9ea363e2dfb4f564 (patch) | |
| tree | d682abe4c6dcef40f99c656dbe3d6f99c492baf7 | |
| parent | c6811ca904356ef5439f3e6aff3c11b48e4903d8 (diff) | |
Try fixing issue #7354
| -rw-r--r-- | xmake/modules/private/action/build/target.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmake/modules/private/action/build/target.lua b/xmake/modules/private/action/build/target.lua index e906d4ee8..a3899b7df 100644 --- a/xmake/modules/private/action/build/target.lua +++ b/xmake/modules/private/action/build/target.lua @@ -733,10 +733,8 @@ function get_linkdepfiles(target) table.join2(extrafiles, linkdepfiles) end local objectfiles = target:objectfiles() - local depfiles = objectfiles - if #extrafiles > 0 then - depfiles = table.join(objectfiles, extrafiles) - end + local depfiles = table.join(objectfiles, extrafiles) + table.sort(depfiles) return depfiles end |
