Android.mk clean出错

编译cocos2d-x,执行 ./build_native.sh clean 出现错误:


NDK_ROOT = /alex_data/tools/android-ndk-r8e
COCOS2DX_ROOT = /workspace/helijoy/heli_pigd/Android/../../../external/cocos2d-x
APP_ROOT = /workspace/helijoy/heli_pigd/Android/..
APP_ANDROID_ROOT = /workspace/helijoy/heli_pigd/Android
Using prebuilt externals
make: Entering directory `/workspace/helijoy/heli_pigd/Android'
Clean: box2d_static [armeabi]
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `rm -rf (TARGET_OBJS)'
make: *** [clean-box2d_static-armeabi] Error 2

此为 ndkr8e的一个bug,修改android-ndk-r8e/build/core/build-binary.mk

$(cleantarget): PRIVATE_CLEAN_FILES := ($(my)OBJS)

修改为:

$(cleantarget): PRIVATE_CLEAN_FILES := $($(my)OBJS)


已标记关键词 清除标记
相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页