Module: sip-router Branch: master Commit: e819eaa0b0be61b3a818422c0ced244b5250295c URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e819eaa0...
Author: Ovidiu Sas osas@voipembedded.com Committer: Ovidiu Sas osas@voipembedded.com Date: Wed Dec 5 09:23:45 2012 -0500
xcap_client: fix cross-compilation
---
modules_k/xcap_client/Makefile | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/modules_k/xcap_client/Makefile b/modules_k/xcap_client/Makefile index 1a8e6b7..938d45d 100644 --- a/modules_k/xcap_client/Makefile +++ b/modules_k/xcap_client/Makefile @@ -8,20 +8,17 @@ include ../../Makefile.defs auto_gen= NAME=xcap_client.so -LIBS=
+ifeq ($(CROSS_COMPILE),) CURLCFG=$(shell which curl-config) +endif
ifneq ($(CURLCFG),) - DEFS += $(shell $(CURLCFG) --cflags) LIBS += $(shell $(CURLCFG) --libs) - else - DEFS+=-I$(LOCALBASE)/include LIBS+=-L$(SYSBASE)/lib -L$(LOCALBASE)/lib -lcurl - endif
DEFS+=-DKAMAILIO_MOD_INTERFACE