mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
remove gmakeisms from the mod_cdr makefile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4652 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -10,10 +10,8 @@ LOCAL_OBJS=cdrcontainer.o basecdr.o baseregistry.o pddcdr.o csvcdr.o xmlcdr.o sq
|
||||
#LOCAL_CFLAGS += -DSWITCH_QUEUE_ENHANCED
|
||||
#LOCAL_LDFLAGS += -lcurl
|
||||
|
||||
ifneq ($(shell which mysql_config),)
|
||||
LOCAL_CFLAGS += $(shell mysql_config --include)
|
||||
LOCAL_LDFLAGS += $(shell mysql_config --libs)
|
||||
LOCAL_OBJS += mysqlcdr.o
|
||||
endif
|
||||
LOCAL_INSERT_CFLAGS=mysql_config="\`which mysql-config 2>/dev/null \`"; if test -n "$$mysql_config"; then echo "\`mysql_config --include\`" ; fi
|
||||
LOCAL_INSERT_LDFLAGS=mysql_config="\`which mysql-config 2>/dev/null \`"; if test -n "$$mysql_config"; then echo "\`mysql_config --libs\`" ; fi
|
||||
LOCAL_INSERT_OBJS=mysql_config="\`which mysql-config 2>/dev/null \`"; if test -n "$$mysql_config"; then echo "mysqlcdr.o" ; fi
|
||||
|
||||
include ../../../../build/modmake.rules
|
||||
|
||||
Reference in New Issue
Block a user