fix bsd compile issue (bug #5731)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7094 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
a6c125b59e
commit
21e4d8c4ed
|
@ -21,7 +21,8 @@ CFLAGS+=-fPIC
|
|||
endif
|
||||
|
||||
ifeq ($(findstring BSD,${OSARCH}),BSD)
|
||||
CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
|
||||
CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include
|
||||
SOLINK+=-L$(CROSS_COMPILE_TARGET)/usr/local/lib
|
||||
endif
|
||||
|
||||
#The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
|
||||
|
|
|
@ -37,7 +37,8 @@ else
|
|||
endif
|
||||
|
||||
ifeq ($(findstring BSD,${OSARCH}),BSD)
|
||||
CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
|
||||
CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include
|
||||
SOLINK+=-L$(CROSS_COMPILE_TARGET)/usr/local/lib
|
||||
endif
|
||||
|
||||
ifeq (${OSARCH},CYGWIN)
|
||||
|
|
Reference in New Issue