diff --git a/package/rpm/ZLMediaKit.spec b/package/rpm/ZLMediaKit.spec index 27685f7d..63297d6c 100644 --- a/package/rpm/ZLMediaKit.spec +++ b/package/rpm/ZLMediaKit.spec @@ -24,8 +24,12 @@ URL: https://github.com/xia-chu/ZLMediaKit Source0: %{name}-%{version}.tar.xz %if %{with openssl} +%if 0%{?rhel} <= 7 && %{with webrtc} +BuildRequires: openssl11-devel +%else BuildRequires: openssl-devel %endif +%endif %if %{with mysql} BuildRequires: mysql-devel