summaryrefslogtreecommitdiff
path: root/core/src/xmake/machine.c
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-22 19:51:46 +0800
committerruki <[email protected]>2015-12-22 21:05:14 +0800
commita1b27b37d0032904adafbeb55f3986af00fdb2e6 (patch)
tree434eed35343be2af077602d437bb7670d6242fe6 /core/src/xmake/machine.c
parentb378a1f331cda1f9520b0a3d86feabb498021cb4 (diff)
fix setenv and arch for windows
Diffstat (limited to 'core/src/xmake/machine.c')
-rwxr-xr-xcore/src/xmake/machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c
index e914297c7..7e5cae462 100755
--- a/core/src/xmake/machine.c
+++ b/core/src/xmake/machine.c
@@ -270,9 +270,9 @@ xm_machine_ref_t xm_machine_init()
// init architecture
#if defined(TB_ARCH_x86) || defined(TB_CONFIG_OS_WINDOWS)
- lua_pushstring(impl->lua, "x86");
+ lua_pushstring(impl->lua, "i386");
#elif defined(TB_ARCH_x64)
- lua_pushstring(impl->lua, "x64");
+ lua_pushstring(impl->lua, "x86_64");
#else
lua_pushstring(impl->lua, TB_ARCH_STRING);
#endif