From 821ea827e0edce8625d47d3a45cbb2daa7dd32cc Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 4 Nov 2019 22:30:18 +0800 Subject: fix core xmake.lua --- core/src/demo/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/demo/xmake.lua b/core/src/demo/xmake.lua index b1b178dde..64bac33fd 100644 --- a/core/src/demo/xmake.lua +++ b/core/src/demo/xmake.lua @@ -47,6 +47,6 @@ target("demo") -- copy target to the build directory after_build(function (target) - os.cp(target:targetfile(), "$(buildir)/xmake.exe") + os.cp(target:targetfile(), path.join(get_config("buildir"), path.filename(target:targetfile()))) end) -- cgit v1.3.1