spec: WebRTC requires openssl >= 1.1

This commit is contained in:
wxf 2021-06-23 10:00:46 +08:00
parent 549b07f598
commit b34226b785

View File

@ -24,8 +24,12 @@ URL: https://github.com/xia-chu/ZLMediaKit
Source0: %{name}-%{version}.tar.xz Source0: %{name}-%{version}.tar.xz
%if %{with openssl} %if %{with openssl}
%if 0%{?rhel} <= 7 && %{with webrtc}
BuildRequires: openssl11-devel
%else
BuildRequires: openssl-devel BuildRequires: openssl-devel
%endif %endif
%endif
%if %{with mysql} %if %{with mysql}
BuildRequires: mysql-devel BuildRequires: mysql-devel