From b34226b7858d4991e29329e433f251adfca4337a Mon Sep 17 00:00:00 2001 From: wxf Date: Wed, 23 Jun 2021 10:00:46 +0800 Subject: [PATCH] spec: WebRTC requires openssl >= 1.1 --- package/rpm/ZLMediaKit.spec | 4 ++++ 1 file changed, 4 insertions(+) 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