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

2

11

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?

Windgall answered 25/6, 2011 at 5:0 Comment(0)
A
14

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

Afterdamp answered 10/8, 2011 at 7:47 Comment(1)
I think -L stand for $(LOCAL_PATH)Riesling
M
1

Add -L/path/to/the/library flag to gcc command line parameters.

Mistrust answered 25/6, 2011 at 8:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.