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:
Olle Johansson
2006-01-24 13:53:45 +00:00
parent be28dc1be8
commit 543cc7e2a4

View File

@@ -34,6 +34,12 @@ else
STANDALONE_FUNCS=$(AVAILABLE_FUNCS)
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)
FUNC_SOURCES=$(BUILTINS:.o=.c)