Module: sip-router
Branch: master
Commit: 7abf33373b0bfa0bc709286b01e9a7da2200659b
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7abf33373b0bfa0bc709286b01e9a7da2200659b

Author: Ovidiu Sas <[email protected]>
Committer: Ovidiu Sas <[email protected]>
Date:   Sat Dec  1 16:42:15 2012 -0500

dialplan: fix cross-compilation

---

 modules/dialplan/Makefile |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/dialplan/Makefile b/modules/dialplan/Makefile
index 4bc67f7..1a3899e 100644
--- a/modules/dialplan/Makefile
+++ b/modules/dialplan/Makefile
@@ -6,13 +6,13 @@ include ../../Makefile.defs
 auto_gen=
 NAME=dialplan.so
 
+ifeq ($(CROSS_COMPILE),)
 BUILDER = $(shell which pcre-config)
+endif
 
 ifeq ($(BUILDER),)
-       PCREDEFS=-I$(LOCALBASE)/include -I/usr/local/include -I/opt/include \
-       -I/usr/sfw/include
-       PCRELIBS=-L$(LOCALBASE)/lib -L/usr/local/lib -L/usr/sfw/lib \
-       -L/opt/lib -lpcre
+       PCREDEFS=-I$(LOCALBASE)/include
+       PCRELIBS=-L$(LOCALBASE)/lib -lpcre
 else
        PCREDEFS = $(shell pcre-config --cflags)
        PCRELIBS = $(shell pcre-config --libs)


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to