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?
hukka
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.
来源:https://stackoverflow.com/questions/6475944/how-to-specify-path-of-libraries-in-android-mk-file-or-application-mk-file