summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools
diff options
context:
space:
mode:
authorSaikari <[email protected]>2026-01-30 10:10:30 +0300
committerSaikari <[email protected]>2026-01-30 10:10:30 +0300
commitbe12d7fdddf16b8b501b9fcbce53b6f5d5173c98 (patch)
tree235c7def639829b3f8f8b57dc98a99f999f39666 /xmake/modules/core/tools
parent21cb0aed94b5e395e419d0035bdd2acdf03bcf79 (diff)
try improve
Diffstat (limited to 'xmake/modules/core/tools')
-rw-r--r--xmake/modules/core/tools/nim.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/nim.lua b/xmake/modules/core/tools/nim.lua
index a05d9a346..415d102f2 100644
--- a/xmake/modules/core/tools/nim.lua
+++ b/xmake/modules/core/tools/nim.lua
@@ -139,7 +139,7 @@ function nf_syslink(self, lib)
return string.format('--passL:"%s.lib"', lib)
else
if lib == "pthread" then
- return string.format('--threads:on --passL:"-l%s" --dynlibOverride:"pthread"', lib)
+ return {"--threads:on", string.format('--passL:"-l%s"', lib), '--dynlibOverride:"pthread"'}
else
return string.format('--passL:"-l%s"', lib)
end