[asterisk-commits] trunk - r8539 /trunk/funcs/Makefile
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Jan 24 06:53:47 MST 2006
Author: oej
Date: Tue Jan 24 07:53:45 2006
New Revision: 8539
URL: http://svn.digium.com/view/asterisk?rev=8539&view=rev
Log:
Issue #6323, FreeBSD compatibility with compilation of func_odbc.c (reported by nulbyte)
Modified:
trunk/funcs/Makefile
Modified: trunk/funcs/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/funcs/Makefile?rev=8539&r1=8538&r2=8539&view=diff
==============================================================================
--- trunk/funcs/Makefile (original)
+++ trunk/funcs/Makefile Tue Jan 24 07:53:45 2006
@@ -33,6 +33,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)
More information about the asterisk-commits
mailing list