[asterisk-commits] dlee: branch 1.8 r372682 - /branches/1.8/main/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 7 22:54:32 CDT 2012


Author: dlee
Date: Fri Sep  7 22:54:28 2012
New Revision: 372682

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=372682
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)

Modified:
    branches/1.8/main/Makefile

Modified: branches/1.8/main/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/Makefile?view=diff&rev=372682&r1=372681&r2=372682
==============================================================================
--- branches/1.8/main/Makefile (original)
+++ branches/1.8/main/Makefile Fri Sep  7 22:54:28 2012
@@ -174,6 +174,10 @@
 endif
 
 $(OBJS): _ASTCFLAGS+=-DAST_MODULE=\"core\"
+
+ssl.o: _ASTCFLAGS+=$(OPENSSL_INCLUDE)
+
+tcptls.o: _ASTCFLAGS+=$(OPENSSL_INCLUDE)
 
 $(MAIN_TGT): $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS)
 	@$(CC) -c -o buildinfo.o $(_ASTCFLAGS) buildinfo.c $(ASTCFLAGS)




More information about the asterisk-commits mailing list