mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-20 11:43:52 +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
|
endif
|
||||||
|
|
||||||
ifeq ($(findstring BSD,${OSARCH}),BSD)
|
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
|
endif
|
||||||
|
|
||||||
#The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
|
#The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
|
||||||
|
@@ -37,7 +37,8 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(findstring BSD,${OSARCH}),BSD)
|
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
|
endif
|
||||||
|
|
||||||
ifeq (${OSARCH},CYGWIN)
|
ifeq (${OSARCH},CYGWIN)
|
||||||
|
Reference in New Issue
Block a user