From 6b80142144c30579f16735ac9911f1a82e9c990d Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 23 Jul 2012 23:53:34 +0200 Subject: [PATCH] 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 file changed, 1 insertion(+) diff --git a/libavformat/Makefile b/libavformat/Makefile index 2263b9648d..2eb3e9c8de 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 \