]> 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:28 +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 968f74658d85b60202687cf8d3b8ee76cddad072..08d1f65580e9411a01c45703e3d0e0e4fde0982a 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)