Browse Source

xmlrpc: fix includes and libs

Reported-by: Olle E. Johansson  oej edvina net
(cherry picked from commit ecc9fcf9fe61cb355864bf8142e65b8dd9d8658b)
Andrei Pelinescu-Onciul 15 years ago
parent
commit
9d7d827f7a
1 changed files with 3 additions and 2 deletions
  1. 3 2
      modules/xmlrpc/Makefile

+ 3 - 2
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