mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-19 19:20:35 +00:00
fix bsd compile issue (bug #5731)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
Block a user