[sr-dev] git:sr_3.0: xmlrpc: fix includes and libs

Andrei Pelinescu-Onciul andrei at iptel.org
Thu Aug 19 16:13:43 CEST 2010


Module: sip-router
Branch: sr_3.0
Commit: b0cffa7ff7b29cb9cf5c50f8b230b99887ee1a2a
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b0cffa7ff7b29cb9cf5c50f8b230b99887ee1a2a

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at 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
 




More information about the sr-dev mailing list