projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be28dc1
)
Issue #6323, FreeBSD compatibility with compilation of func_odbc.c (reported by nulbyte)
author
Olle Johansson
<oej@edvina.net>
Tue, 24 Jan 2006 13:53:45 +0000
(13:53 +0000)
committer
Olle Johansson
<oej@edvina.net>
Tue, 24 Jan 2006 13:53:45 +0000
(13:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8539
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
funcs/Makefile
patch
|
blob
|
history
diff --git
a/funcs/Makefile
b/funcs/Makefile
index
773594c
..
2cafa3d
100644
(file)
--- 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)