[Asterisk-code-review] utils/pval: Add -lBlocksRuntime for compiler clang condition... (asterisk[15])
Alexander Traud
asteriskteam at digium.com
Tue Apr 17 07:13:15 CDT 2018
Alexander Traud has uploaded this change for review. ( 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(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/91/8791/1
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: newchange
Gerrit-Change-Id: I930b364a33d54cc08dedfcd5bb45f7e83242f134
Gerrit-Change-Number: 8791
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/9008d544/attachment-0001.html>
More information about the asterisk-code-review
mailing list