diff options
| -rw-r--r-- | core/src/demo/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
