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

rajeswari picture rajeswari · Jun 25, 2011 · Viewed 12.7k times · Source

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?

Answer

hukka picture hukka · Aug 10, 2011

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