summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2025-05-08 21:39:53 +0800
committerGitHub <[email protected]>2025-05-08 21:39:53 +0800
commitf8f940759860e118e222a735b71e29a01dcc9491 (patch)
tree94704bbe6238e5d30a49c50a1f1d6484eaf41a8f /xmake/modules
parent7301a531f1581e5b22897c13c66d2704c493dbd9 (diff)
parent78394e6f3e065c6f1f27cb672fd11f25b1f6e6fc (diff)
Merge pull request #6408 from star-hengxing/dlltool
Add dlltool toolset for mingw
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/package/tools/meson.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/meson.lua b/xmake/modules/package/tools/meson.lua
index 3a26d355c..d03745b41 100644
--- a/xmake/modules/package/tools/meson.lua
+++ b/xmake/modules/package/tools/meson.lua
@@ -261,6 +261,10 @@ function _get_configs_file(package, opt)
if mrc then
file:print("windres=['%s']", executable_path(mrc))
end
+ local dlltool = package:build_getenv("dlltool")
+ if dlltool then
+ file:print("dlltool=['%s']", executable_path(dlltool))
+ end
end
local cmake = find_tool("cmake")
if cmake then