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?
Solution 1:
You have to add LOCAL_LDLIBS := -L/path/to/the/library
into the file Android.mk
.
Solution 2:
Add -L/path/to/the/library
flag to gcc command line parameters.
Post a Comment for "How To Specify Path Of Libraries In Android.mk File Or Application.mk File?"