From c90409cf2bfca2531e27d32c6c79c8a151c04510 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 11 Jan 2023 00:33:37 +0800 Subject: fix defines with space #3271 --- xmake/modules/core/tools/ml.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/modules/core/tools/ml.lua') diff --git a/xmake/modules/core/tools/ml.lua b/xmake/modules/core/tools/ml.lua index 59749974c..451954601 100644 --- a/xmake/modules/core/tools/ml.lua +++ b/xmake/modules/core/tools/ml.lua @@ -87,7 +87,7 @@ end -- make the define flag function nf_define(self, macro) - return "-D" .. macro + return {"-D" .. macro} end -- make the undefine flag -- cgit v1.3.1