summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/zig.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core/tools/zig.lua')
-rw-r--r--xmake/modules/core/tools/zig.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/zig.lua b/xmake/modules/core/tools/zig.lua
index 8fb7c0b9f..c7889e522 100644
--- a/xmake/modules/core/tools/zig.lua
+++ b/xmake/modules/core/tools/zig.lua
@@ -45,7 +45,7 @@ end
-- make the define flag
function nf_define(self, macro)
- return "-D" .. macro
+ return {"-D" .. macro}
end
-- make the optimize flag