summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2019-11-04 22:30:18 +0800
committerruki <[email protected]>2019-11-04 09:01:53 +0800
commit821ea827e0edce8625d47d3a45cbb2daa7dd32cc (patch)
tree4fda06cc18a2863bebe455bcdf6248bfb21f47a7 /core/src
parent860571059e3d30da620110e646be3b9a537333fe (diff)
fix core xmake.lua
Diffstat (limited to 'core/src')
-rw-r--r--core/src/demo/xmake.lua2
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)