[Asterisk-code-review] Build System: Fix build failure caused by recent CLI improve... (asterisk[master])

Joshua Colp asteriskteam at digium.com
Mon Nov 6 06:31:29 CST 2017


Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/6972 )

Change subject: Build System: Fix build failure caused by recent CLI improvements.
......................................................................

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
---
M main/Makefile
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Sean Bright: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved; Approved for Submit



diff --git a/main/Makefile b/main/Makefile
index 968f746..08d1f65 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -149,7 +149,7 @@
 
 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)

-- 
To view, visit https://gerrit.asterisk.org/6972
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib7fd496f1d7ed48141a2eadd5dd61cab2f2308be
Gerrit-Change-Number: 6972
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171106/c12d6de9/attachment-0001.html>


More information about the asterisk-code-review mailing list