Use an absolute path when referring to the embedded editline directory.
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 25 Jul 2012 12:37:58 +0000 (12:37 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 25 Jul 2012 12:37:58 +0000 (12:37 +0000)
This patch changes the build system to refer to the embedded editline directory
using an absolute path, which will resolve a problem seen on the CentOS
automated build agents.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370482 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/Makefile

index 0ff0dea..aa8dfb6 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=-Ieditline
+LIBEDIT_INCLUDE=-I$(ASTTOPDIR)/main/editline
 endif
 
 db.o: _ASTCFLAGS+=$(SQLITE3_INCLUDE)