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:35:34 +0000 (11:35 -0400)
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 968f746..08d1f65 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)