开发者

How do i point make to use a particular system library in a build?

I've tr开发者_StackOverflowied putting this in the local Makefile :

INCLUDE +=  -I/opt/local/include

and tried putting this in the mozconfig:

export CFLAGS="-I/opt/local/include" export CXXFLAGS="-I/opt/local/include"

But i still get :

error: portaudio.h: No such file or directory

How do i get make to find the right libraries?


Add these to source//config/myconfig.mk

CFLAGS += -I/path/to/includes -L/path/to/libs -l
CXXFLAGS += -I/path/to/includes -L/path/to/libs -l

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜