开发者

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

开发者 https://www.devze.com 2023-03-08 15:01 出处:网络
I\'ve tr开发者_StackOverflowied putting this in the local Makefile : INCLUDE +=-I/opt/local/include

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

精彩评论

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

关注公众号