mirror of https://github.com/axmolengine/axmol.git
Fixed failure in call to make when the android app folder contains spaces in the path.
This commit is contained in:
parent
cd24f91014
commit
5d26bc045c
|
@ -73,7 +73,8 @@ def do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,and
|
|||
ndk_path = os.path.join(ndk_root, "ndk-build")
|
||||
|
||||
num_of_cpu = get_num_of_cpu()
|
||||
|
||||
|
||||
app_android_root = app_android_root.replace(' ', '\\ ')
|
||||
if ndk_build_param == None:
|
||||
command = '%s -j%d -C %s NDK_DEBUG=%d' % (ndk_path, num_of_cpu, app_android_root, build_mode=='debug')
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue