如何提Android.mk文件或Application.mk文件库路径?文件、路径、Android、mk

2023-09-06 01:38:42 作者:你是我今生最美的风景

我要提库在Application.mk文件的路径挂靠correctly.How做到这一点。是否有任何海湾合作委员会的命令。

I need to mention the path of library in Application.mk file to link it correctly.How to do this. Is there any gcc command for that.

推荐答案

您需要添加LOCAL_LDLIBS:= -L /路径/到/的/库到文件Android.mk

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