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

Alexander Traud asteriskteam at digium.com
Tue Apr 17 07:07:56 CDT 2018


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/8789


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(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/89/8789/1

diff --git a/utils/Makefile b/utils/Makefile
index d62d45f..ae2af08 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -164,7 +164,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 astmm.o
 
 threadstorage.c: $(ASTTOPDIR)/main/threadstorage.c
@@ -174,6 +174,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 astmm.o
 
 check_expr2: $(ASTTOPDIR)/main/ast_expr2f.c $(ASTTOPDIR)/main/ast_expr2.c $(ASTTOPDIR)/main/ast_expr2.h astmm.o

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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I930b364a33d54cc08dedfcd5bb45f7e83242f134
Gerrit-Change-Number: 8789
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180417/39d0c715/attachment.html>


More information about the asterisk-code-review mailing list