开发者

How to specify path of libraries in Android.mk file or Application.mk file?

I need to specify the path of library in Application.mk file to link it correctly. How to do this? Is there any GCC command开发者_运维百科 for that?


You have to add LOCAL_LDLIBS := -L/path/to/the/library into the file Android.mk.


Add -L/path/to/the/library flag to gcc command line parameters.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜