summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/meson.lua
diff options
context:
space:
mode:
authorstar9029 <[email protected]>2025-05-08 21:29:03 +0800
committerstar9029 <[email protected]>2025-05-08 21:29:03 +0800
commit78394e6f3e065c6f1f27cb672fd11f25b1f6e6fc (patch)
tree94704bbe6238e5d30a49c50a1f1d6484eaf41a8f /xmake/modules/package/tools/meson.lua
parent7301a531f1581e5b22897c13c66d2704c493dbd9 (diff)
Add dlltool toolset for mingw
Diffstat (limited to 'xmake/modules/package/tools/meson.lua')
-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