summaryrefslogtreecommitdiff
path: root/main/Makefile
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2015-03-30 11:42:00 +0000
committerCorey Farrell <git@cfware.com>2015-03-30 11:42:00 +0000
commit2d39bc55286c73cb81138f1dc8eaf8217ed312f1 (patch)
tree2c03f1cadd5778650979a72143aa514764ffdebb /main/Makefile
parent5f8faf16af107855e6afa2574b3e9436ed20250c (diff)
Fix an ABI compatibility issue with ast_log_safe for modules.
Binary modules are sometimes built against the latest release of Asterisk in each branch, and need to be compatible with all releases of that branch. This change ensures that utils.h only uses ast_log_safe from the core. For modules and utilities ast_log is used instead. Review: https://reviewboard.asterisk.org/r/4548/ ........ Merged revisions 433772 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/Makefile')
-rw-r--r--main/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/Makefile b/main/Makefile
index 0a63c01a0..c0c0afff2 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -186,7 +186,7 @@ ifneq ($(findstring ENABLE_UPLOADS,$(MENUSELECT_CFLAGS)),)
GMIMELDFLAGS+=$(GMIME_LIB)
endif
-$(OBJS): _ASTCFLAGS+=-DAST_MODULE=\"core\"
+$(OBJS): _ASTCFLAGS+=-DAST_MODULE=\"core\" -DAST_IN_CORE
libasteriskssl.o: _ASTCFLAGS+=$(OPENSSL_INCLUDE)