From: Corey Farrell Date: Fri, 3 Nov 2017 15:35:34 +0000 (-0400) Subject: Build System: Fix build failure caused by recent CLI improvements. X-Git-Tag: 13.19.0-rc1~172^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3cfcc0da6b7e675d6779fa006abd2cc3d77d809;p=thirdparty%2Fasterisk.git Build System: Fix build failure caused by recent CLI improvements. 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 --- diff --git a/main/Makefile b/main/Makefile index 8e06ce3d03..efb0cafc97 100644 --- a/main/Makefile +++ b/main/Makefile @@ -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)