开发者

Android NDK build script ignoring main makefile

I've got Application.mk file which is ignored by ndk-build for some reason. What i've got in it:

APP_PROJECT_PATH := $(call my-dir)
APP_CPPFLAGS += -frtti
APP_CPPFLAGS += -fexceptions
APP_OP开发者_StackOverflow中文版TIM := debug
APP_STL := gnustl_static

And flags on build is still:

-fno-exceptions -fno-rtti 

And no gnustl includes.

What can be the problem?


Make sure the Application.mk is inside the jni folder, alongside the Android.mk.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜