aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/Makefile
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-24 13:53:45 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-24 13:53:45 +0000
commite5f9da6e43f1b4f1a4c919e84882fa083ce854ba (patch)
treecfba94b60553911c0e97dd9005b24a8ab6819a9b /funcs/Makefile
parent1f4ef32c8f91bada9c29f12389caedaae3196f52 (diff)
Issue #6323, FreeBSD compatibility with compilation of func_odbc.c (reported by nulbyte)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8539 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/Makefile')
-rw-r--r--funcs/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/funcs/Makefile b/funcs/Makefile
index 773594c64..2cafa3d1a 100644
--- a/funcs/Makefile
+++ b/funcs/Makefile
@@ -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)