spec: Fix openssl directory

This commit is contained in:
wxf 2021-06-23 10:11:30 +08:00
parent b34226b785
commit 0d4ac4f655

View File

@ -99,6 +99,9 @@ pushd %{_target_platform}
-DENABLE_FAAC:BOOL=%{with faac} \ -DENABLE_FAAC:BOOL=%{with faac} \
-DENABLE_X264:BOOL=%{with x264} \ -DENABLE_X264:BOOL=%{with x264} \
-DENABLE_WEBRTC:BOOL=%{with webrtc} \ -DENABLE_WEBRTC:BOOL=%{with webrtc} \
%if %{with webrtc} && 0%{?rhel} <= 7
-DOPENSSL_ROOT_DIR:STRING="/usr/lib64/openssl11;/usr/include/openssl11" \
%endif
-DENABLE_MP4:BOOL=ON \ -DENABLE_MP4:BOOL=ON \
-DENABLE_RTPPROXY:BOOL=ON \ -DENABLE_RTPPROXY:BOOL=ON \
-DENABLE_API:BOOL=ON \ -DENABLE_API:BOOL=ON \