Module: sip-router
Branch: master
Commit: 7abf33373b0bfa0bc709286b01e9a7da2200659b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7abf333…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
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)