mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Issue #6323, FreeBSD compatibility with compilation of func_odbc.c (reported by nulbyte)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -34,6 +34,12 @@ else
|
|||||||
STANDALONE_FUNCS=$(AVAILABLE_FUNCS)
|
STANDALONE_FUNCS=$(AVAILABLE_FUNCS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(findstring BSD,${OSARCH}),BSD)
|
||||||
|
CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include
|
||||||
|
SOLINK+=-L$(CROSS_COMPILE_TARGET)/usr/local/lib
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
FUNCS+=$(STANDALONE_FUNCS:.o=.so)
|
FUNCS+=$(STANDALONE_FUNCS:.o=.so)
|
||||||
|
|
||||||
FUNC_SOURCES=$(BUILTINS:.o=.c)
|
FUNC_SOURCES=$(BUILTINS:.o=.c)
|
||||||
|
Reference in New Issue
Block a user