Repair editline builds using in-tree editline sources.
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 25 Jul 2012 14:27:48 +0000 (14:27 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 25 Jul 2012 14:27:48 +0000 (14:27 +0000)
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

index aa8dfb6..9387a04 100644 (file)
@@ -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)