开发者

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

开发者 https://www.devze.com 2023-03-15 13:25 出处:网络
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/libra

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

精彩评论

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