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.
精彩评论