diff options
| author | ruki <[email protected]> | 2024-07-29 15:24:32 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-29 15:24:32 +0800 |
| commit | 2b3aca5b6055cda60197200754ae0c2ee5fbc901 (patch) | |
| tree | 850ff778f6a98474b7145a6f28077b90ac6667a7 /xmake/modules | |
| parent | 8cd2a3b8318084daeafec233cb7670920dfd3aa3 (diff) | |
| parent | 0936bb1cd2d90cbfe936efaaaa0daf712e12728f (diff) | |
Merge pull request #5407 from xiaobfly/dev
fix Qt static compilation issue
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/core/tools/link.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/link.lua b/xmake/modules/core/tools/link.lua index a144d515e..3e51ad40a 100644 --- a/xmake/modules/core/tools/link.lua +++ b/xmake/modules/core/tools/link.lua @@ -102,7 +102,7 @@ end -- make the link flag function nf_link(self, lib) - if not lib:endswith(".lib") then + if not lib:endswith(".lib") and not lib:endswith(".obj") then lib = lib .. ".lib" end return lib |
