xmlrpc: fix includes and libs
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Wed, 11 Aug 2010 16:56:57 +0000 (18:56 +0200)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Wed, 11 Aug 2010 16:56:57 +0000 (18:56 +0200)
Reported-by: Olle E. Johansson oej edvina net
modules/xmlrpc/Makefile

index efcbf38..485d12a 100644 (file)
@@ -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