diff options
author | Diego Biurrun <diego@biurrun.de> | 2017-05-23 10:15:28 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-06-02 10:41:52 +0200 |
commit | 61cec5adaacb358783c18aa07362f15824c1b274 (patch) | |
tree | 974bfc9f4461436d5e9f3584051b8d9e6327b11f /libavformat/Makefile | |
parent | 5edded9df31bc4712a023f89941b4c278f1bd6f5 (diff) | |
download | ffmpeg-61cec5adaacb358783c18aa07362f15824c1b274.tar.gz |
tls: Hide backend implementation details from users
TLS is currently implemented over either OpenSSL or GnuTLS, with more
backends likely to appear in the future. Currently, those backend libraries
are part of the protocol names used during e.g. the configure stage of a
build. Hide those details behind a generically-named declaration for the
TLS protocol to avoid leaking those details into the configuration stage.
Diffstat (limited to 'libavformat/Makefile')
-rw-r--r-- | libavformat/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/Makefile b/libavformat/Makefile index 7b1df9342c..2c1c0f6d7f 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -408,8 +408,9 @@ OBJS-$(CONFIG_RTP_PROTOCOL) += rtpproto.o OBJS-$(CONFIG_SCTP_PROTOCOL) += sctp.o OBJS-$(CONFIG_SRTP_PROTOCOL) += srtpproto.o srtp.o OBJS-$(CONFIG_TCP_PROTOCOL) += tcp.o -OBJS-$(CONFIG_TLS_GNUTLS_PROTOCOL) += tls_gnutls.o tls.o -OBJS-$(CONFIG_TLS_OPENSSL_PROTOCOL) += tls_openssl.o tls.o +TLS-OBJS-$(CONFIG_GNUTLS) += tls_gnutls.o +TLS-OBJS-$(CONFIG_OPENSSL) += tls_openssl.o +OBJS-$(CONFIG_TLS_PROTOCOL) += tls.o $(TLS-OBJS-yes) OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o OBJS-$(CONFIG_UNIX_PROTOCOL) += unix.o |