[asterisk-commits] trunk r22232 - /trunk/cdr/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Apr 23 20:40:13 MST 2006


Author: markster
Date: Sun Apr 23 22:40:12 2006
New Revision: 22232

URL: http://svn.digium.com/view/asterisk?rev=22232&view=rev
Log:
Fix CDR builds when includes are in freetds directory off include

Modified:
    trunk/cdr/Makefile

Modified: trunk/cdr/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/cdr/Makefile?rev=22232&r1=22231&r2=22232&view=diff
==============================================================================
--- trunk/cdr/Makefile (original)
+++ trunk/cdr/Makefile Sun Apr 23 22:40:12 2006
@@ -60,6 +60,11 @@
 endif
 
 MLFLAGS=
+
+ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/freetds),)
+  CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/include/freetds
+  MLFLAGS+=-L$(CROSS_COMPILE_TARGET)/usr/lib/postgresql
+endif
 
 ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/postgresql),)
   CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/include/postgresql



More information about the asterisk-commits mailing list