[rtmpdump] [PATCH] Make crypto support configurable through make variables

Howard Chu hyc at highlandsun.com
Wed Apr 7 09:14:04 CEST 2010


Martin Storsjö wrote:
> Hi,
>
> Currently, if one wants to build librtmp without crypto support, one has
> to edit rtmp.h to remove the CRYPTO definition and then edit the makefile
> to remove the reference to hashswf.o. With the attached patch, a user can
> simply do
>
> make CRYPTO=no
>
> to compile without crypto support, without having to edit the checked out
> files.

You used Gmake-specific syntax in your patch, I've committed a generic 
solution instead. Just use "make CRYPTO=" to turn off crypto support.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/


More information about the rtmpdump mailing list