From: Michael Jerris Date: Mon, 2 Oct 2006 04:19:04 +0000 (+0000) Subject: make this build in a few more places for now. This still needs proper autoconf detec... X-Git-Tag: v1.0-beta1~1976 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ecbe8b1682982211558c33fd4cfd15c5430fb06;p=thirdparty%2Ffreeswitch.git make this build in a few more places for now. This still needs proper autoconf detection for mysql. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2940 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/event_handlers/mod_cdr/Makefile b/src/mod/event_handlers/mod_cdr/Makefile index 0a1be625f0..c1858bbf13 100644 --- a/src/mod/event_handlers/mod_cdr/Makefile +++ b/src/mod/event_handlers/mod_cdr/Makefile @@ -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