Module: sip-router Branch: master Commit: a419c74d065156a2c9626b2475beaf08e130137e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a419c74d065156a2c9626b2475beaf08e130137e
Author: Ovidiu Sas <[email protected]> Committer: Ovidiu Sas <[email protected]> Date: Sat Dec 1 01:24:24 2012 -0500 xmlops: fix cross compilation --- modules/xmlops/Makefile | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/modules/xmlops/Makefile b/modules/xmlops/Makefile index e1e35bc..a55c4a1 100644 --- a/modules/xmlops/Makefile +++ b/modules/xmlops/Makefile @@ -9,7 +9,9 @@ auto_gen= NAME=xmlops.so LIBS= +ifeq ($(CROSS_COMPILE),) XML2CFG=$(shell which xml2-config) +endif ifneq ($(XML2CFG),) @@ -18,7 +20,7 @@ ifneq ($(XML2CFG),) else - DEFS+=-I/usr/include/libxml2 -I$(LOCALBASE)/include/libxml2 \ + DEFS+=-I$(LOCALBASE)/include/libxml2 \ -I$(LOCALBASE)/include LIBS+=-L$(LOCALBASE)/lib -lxml2 _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
