[libav-commits] build: Skip compiling rtmpdh.h if ffrtmpcrypt protocol is not enabled

Diego Biurrun git at libav.org
Tue Jul 24 00:47:23 CEST 2012


Module: libav
Branch: master
Commit: 6b80142144c30579f16735ac9911f1a82e9c990d

Author:    Diego Biurrun <diego at biurrun.de>
Committer: Diego Biurrun <diego at biurrun.de>
Date:      Mon Jul 23 23:53:34 2012 +0200

build: Skip compiling rtmpdh.h if ffrtmpcrypt protocol is not enabled

The ffrtmpcrypt protocol depends on external libraries, which are
also required to compile the header file.

---

 libavformat/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/Makefile b/libavformat/Makefile
index 2263b96..2eb3e9c 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -365,6 +365,7 @@ OBJS-$(CONFIG_TCP_PROTOCOL)              += tcp.o
 OBJS-$(CONFIG_TLS_PROTOCOL)              += tls.o
 OBJS-$(CONFIG_UDP_PROTOCOL)              += udp.o
 
+SKIPHEADERS-$(CONFIG_FFRTMPCRYPT_PROTOCOL) += rtmpdh.h
 SKIPHEADERS-$(CONFIG_NETWORK)            += network.h rtsp.h
 
 EXAMPLES  = metadata                                                    \



More information about the libav-commits mailing list