[Asterisk-code-review] utils/pval: Add -lBlocksRuntime for compiler clang condition... (asterisk[15])

Jenkins2 asteriskteam at digium.com
Wed Apr 18 15:25:21 CDT 2018


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/8791 )

Change subject: utils/pval: Add -lBlocksRuntime for compiler clang conditionally.
......................................................................

utils/pval: Add -lBlocksRuntime for compiler clang conditionally.

ASTERISK-27809

Change-Id: I930b364a33d54cc08dedfcd5bb45f7e83242f134
---
M utils/Makefile
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/utils/Makefile b/utils/Makefile
index 3a12754..1af90a4 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -161,7 +161,7 @@
 	$(CMD_PREFIX) mv "$@.new" "$@"
 
 aelparse.o: _ASTCFLAGS+=-I$(ASTTOPDIR)/res -Wno-unused
-aelparse: LIBS+=-lm
+aelparse: LIBS+=-lm $(AST_CLANG_BLOCKS_LIBS)
 aelparse: aelparse.o aelbison.o pbx_ael.o hashtab.o lock.o ael_main.o ast_expr2f.o ast_expr2.o strcompat.o pval.o extconf.o
 
 threadstorage.c: $(ASTTOPDIR)/main/threadstorage.c
@@ -171,6 +171,7 @@
 
 extconf.o: extconf.c
 
+conf2ael: LIBS+=$(AST_CLANG_BLOCKS_LIBS)
 conf2ael: conf2ael.o ast_expr2f.o ast_expr2.o hashtab.o lock.o aelbison.o aelparse.o pbx_ael.o pval.o extconf.o strcompat.o
 
 check_expr2: $(ASTTOPDIR)/main/ast_expr2f.c $(ASTTOPDIR)/main/ast_expr2.c $(ASTTOPDIR)/main/ast_expr2.h

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

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: merged
Gerrit-Change-Id: I930b364a33d54cc08dedfcd5bb45f7e83242f134
Gerrit-Change-Number: 8791
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180418/6a0bc9e5/attachment.html>


More information about the asterisk-code-review mailing list