[Freeswitch-svn] [commit] r2940 - freeswitch/trunk/src/mod/event_handlers/mod_cdr

Freeswitch SVN mikej at freeswitch.org
Mon Oct 2 00:19:04 EDT 2006


Author: mikej
Date: Mon Oct  2 00:19:04 2006
New Revision: 2940

Modified:
   freeswitch/trunk/src/mod/event_handlers/mod_cdr/Makefile

Log:
make this build in a few more places for now.  This still needs proper autoconf detection for mysql.

Modified: freeswitch/trunk/src/mod/event_handlers/mod_cdr/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/event_handlers/mod_cdr/Makefile	(original)
+++ freeswitch/trunk/src/mod/event_handlers/mod_cdr/Makefile	Mon Oct  2 00:19:04 2006
@@ -1,5 +1,7 @@
-LDFLAGS += -L/usr/lib64/mysql -L/usr/lib/mysql -L/usr/local/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lssl -lcrypto
-CFLAGS += -I/usr/include/mysql -I/usr/local/include/mysql
+
+CFLAGS  += $(shell mysql_config --includes) 
+LDFLAGS += $(shell mysql_config --libs )
+
 CPPCC = g++
 OBJS=cdrcontainer.o basecdr.o baseregistry.o mysqlcdr.o pddcdr.o csvcdr.o
 



More information about the Freeswitch-svn mailing list