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

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


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


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/90/8790/1

diff --git a/utils/Makefile b/utils/Makefile
index 037abb9..cabc268 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -158,7 +158,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
@@ -168,6 +168,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/8790
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I930b364a33d54cc08dedfcd5bb45f7e83242f134
Gerrit-Change-Number: 8790
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/7389fc55/attachment.html>


More information about the asterisk-code-review mailing list