Module: sip-router
Branch: master
Commit: ecc9fcf9fe61cb355864bf8142e65b8dd9d8658b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ecc9fcf…
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
---
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