[asterisk-commits] dlee: trunk r372699 - in /trunk: ./ main/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Sep 8 01:18:50 CDT 2012


Author: dlee
Date: Sat Sep  8 01:18:48 2012
New Revision: 372699

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=372699
Log:
Add OPENSSL_INCLUDE to the CFLAGS for ssl.c and tcptls.c.

Without this flag, those files will compile with the system installed
OpenSSL headers (if they exist). This is a real bummer if a different
path was specified using --with-ssl=

(closes issue ASTERISK-20392)
........
Merged revisions 372682 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Recorded merge of revisions 372695 from http://svn.asterisk.org/svn/asterisk/branches/10
........
Recorded merge of revisions 372696 from http://svn.asterisk.org/svn/asterisk/branches/11

Modified:
    trunk/   (props changed)
    trunk/main/Makefile

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

Propchange: trunk/
------------------------------------------------------------------------------
    svn:mergeinfo = /branches/11:372696

Modified: trunk/main/Makefile
URL: http://svnview.digium.com/svn/asterisk/trunk/main/Makefile?view=diff&rev=372699&r1=372698&r2=372699
==============================================================================
--- trunk/main/Makefile (original)
+++ trunk/main/Makefile Sat Sep  8 01:18:48 2012
@@ -194,6 +194,8 @@
 
 ASTSSL_LDLIBS=-L. -lasteriskssl
 
+libasteriskssl.o: _ASTCFLAGS+=$(OPENSSL_INCLUDE)
+
 ifeq ($(findstring darwin,$(OSARCH)),) # not Darwin
 ASTSSL_LIB:=libasteriskssl.so
 
@@ -235,6 +237,8 @@
 
 endif
 
+tcptls.o: _ASTCFLAGS+=$(OPENSSL_INCLUDE)
+
 $(MAIN_TGT): $(OBJS) $(ASTSSL_LIB) $(LIBEDIT_OBJ) $(AST_EMBED_LDSCRIPTS)
 	@$(CC) -c -o buildinfo.o $(_ASTCFLAGS) buildinfo.c $(ASTCFLAGS)
 	$(ECHO_PREFIX) echo "   [LD] $(OBJS) $(LIBEDIT_OBJ) $(AST_EMBED_LDSCRIPTS) -> $@"




More information about the asterisk-commits mailing list