Module: sip-router
Branch: kamailio_3.0
Commit: 9d7d827f7a1d61deb6d79d421c89fd6727cc0a02
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9d7d827…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Wed Aug 11 18:56:57 2010 +0200
xmlrpc: fix includes and libs
Reported-by: Olle E. Johansson oej edvina net
(cherry picked from commit ecc9fcf9fe61cb355864bf8142e65b8dd9d8658b)
---
modules/xmlrpc/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/xmlrpc/Makefile b/modules/xmlrpc/Makefile
index efcbf38..485d12a 100644
--- a/modules/xmlrpc/Makefile
+++ b/modules/xmlrpc/Makefile
@@ -6,8 +6,9 @@
include ../../Makefile.defs
auto_gen=
NAME=xmlrpc.so
-DEFS += -I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/local/include
-LIBS +=-lxml2
+INCLUDES += -I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 \
+ -I$(LOCALBASE)/include
+LIBS += -L$(LOCALBASE)/lib -L/usr/pkg/lib -lxml2
DEFS+=-DSER_MOD_INTERFACE