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?
How to specify path of libraries in Android.mk file or Application.mk file?
Asked Answered
You have to add LOCAL_LDLIBS := -L/path/to/the/library
into the file Android.mk
.
I think -L stand for $(LOCAL_PATH) –
Riesling
Add -L/path/to/the/library
flag to gcc command line parameters.
© 2022 - 2024 — McMap. All rights reserved.