]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Build System: Fix build failure caused by recent CLI improvements.
authorCorey Farrell <git@cfware.com>
Fri, 3 Nov 2017 15:35:34 +0000 (11:35 -0400)
committerCorey Farrell <git@cfware.com>
Fri, 3 Nov 2017 15:39:38 +0000 (10:39 -0500)
We use the editline library to help with filename completion in our CLI
interface.  Some systems failed to find the header when included from
loader.c.  This is fixed by setting the proper CFLAGS for the build of
loader.o.

ASTERISK-27378

Change-Id: Ib7fd496f1d7ed48141a2eadd5dd61cab2f2308be

main/Makefile

index 8e06ce3d0301a3fa9b292a5311cbd947521313c2..efb0cafc978a8923c10950808e0584a360ea3544 100644 (file)
@@ -149,7 +149,7 @@ endif
 
 db.o: _ASTCFLAGS+=$(SQLITE3_INCLUDE)
 asterisk.o: _ASTCFLAGS+=$(LIBEDIT_INCLUDE)
-cli.o: _ASTCFLAGS+=$(LIBEDIT_INCLUDE)
+loader.o: _ASTCFLAGS+=$(LIBEDIT_INCLUDE)
 json.o: _ASTCFLAGS+=$(JANSSON_INCLUDE)
 bucket.o: _ASTCFLAGS+=$(URIPARSER_INCLUDE)
 crypt.o: _ASTCFLAGS+=$(CRYPT_INCLUDE)