From 969e625749038e247249bd6ea616b76d0c69fb8d Mon Sep 17 00:00:00 2001
From: "Kevin P. Fleming" <kpfleming@digium.com>
Date: Wed, 25 Jul 2012 14:27:48 +0000
Subject: [PATCH] Repair editline builds using in-tree editline sources.

The previous change to the build system for using a system-provided editline
library was missing a crucial include directory for building against the
copy of the library in the Asterisk source tree.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 main/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/Makefile b/main/Makefile
index aa8dfb6ba0..9387a04870 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -146,7 +146,7 @@ testexpr2: ast_expr2f.c ast_expr2.c ast_expr2.h
 
 ifneq ($(LIBEDIT_INTERNAL),no)
 LIBEDIT_OBJ=editline/libedit.a
-LIBEDIT_INCLUDE=-I$(ASTTOPDIR)/main/editline
+LIBEDIT_INCLUDE=-I. -Ieditline
 endif
 
 db.o: _ASTCFLAGS+=$(SQLITE3_INCLUDE)
-- 
GitLab