Module: sems Branch: master Commit: 7b0e7dfd07c43b80a825dacb0cf22bfd58368087 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=7b0e7dfd07c43b80a825dacb0cf22bfd58368087
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Tue Oct 4 10:32:49 2011 +0200 db_reg_agent: fixes compilation if mysql headers are not in /usr/include. --- apps/db_reg_agent/Makefile | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/apps/db_reg_agent/Makefile b/apps/db_reg_agent/Makefile index bb5b3c1..9cdbbc1 100644 --- a/apps/db_reg_agent/Makefile +++ b/apps/db_reg_agent/Makefile @@ -1,7 +1,9 @@ plug_in_name = db_reg_agent +MYSQLPP_DEFS = -DMYSQLPP_MYSQL_HEADERS_BURIED + module_ldflags = -lmysqlpp -module_cflags = -DHAS_OFFER_ANSWER -DMOD_NAME=\"$(plug_in_name)\" -I/usr/include/mysql++ -I/usr/include/mysql +module_cflags = -DHAS_OFFER_ANSWER -DMOD_NAME=\"$(plug_in_name)\" $(MYSQLPP_DEFS) COREPATH ?=../../core include $(COREPATH)/plug-in/Makefile.app_module _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
