summaryrefslogtreecommitdiff
path: root/xmake/rules/utils/glsl2spv/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/utils/glsl2spv/xmake.lua')
-rw-r--r--xmake/rules/utils/glsl2spv/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/utils/glsl2spv/xmake.lua b/xmake/rules/utils/glsl2spv/xmake.lua
index 83988287e..dfd1779fe 100644
--- a/xmake/rules/utils/glsl2spv/xmake.lua
+++ b/xmake/rules/utils/glsl2spv/xmake.lua
@@ -85,8 +85,8 @@ rule("utils.glsl2spv")
outputfile = headerfile
-- add commands
- local argv = {"lua", "private.utils.bin2c", "--nozeroend", "-i", path(spvfilepath), "-o", path(headerfile)}
- batchcmds:vrunv(os.programfile(), argv, {envs = {XMAKE_SKIP_HISTORY = "y"}})
+ local argv = {"--nozeroend", "-i", path(spvfilepath), "-o", path(headerfile)}
+ batchcmds:vlua("private.utils.bin2c", argv)
end
-- add deps