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.
LOCAL_LDLIBS := -L/path/to/the/library
Android.mk