From d874ea6b942e867313f40a94395ed68a9c911725 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 6 Apr 2007 09:49:16 +0000 Subject: [PATCH] we can just use the flags that configure detects git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4870 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/event_handlers/mod_cdr/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod/event_handlers/mod_cdr/Makefile.am b/src/mod/event_handlers/mod_cdr/Makefile.am index 341454f8b1..b30138641a 100644 --- a/src/mod/event_handlers/mod_cdr/Makefile.am +++ b/src/mod/event_handlers/mod_cdr/Makefile.am @@ -20,9 +20,9 @@ mod_cdr_la_LDFLAGS=-module -avoid-version -no-undefined -export-symbols-regex ^s #Build mysqlcdr if we have mysql client if HAVE_MYSQL -mod_cdr_la_CFLAGS += -DMYSQL $(MYSQL_CFLAGS) -mod_cdr_la_CPPFLAGS += -DMYSQL $(MYSQL_CFLAGS) -mod_cdr_la_LDFLAGS += -lmysql-client $(MYSQL_LDFLAGS) +mod_cdr_la_CFLAGS += $(MYSQL_CFLAGS) +mod_cdr_la_CPPFLAGS += $(MYSQL_CFLAGS) +mod_cdr_la_LDFLAGS += $(MYSQL_LDFLAGS) mod_cdr_la_SOURCES += mysqlcdr.cpp endif