Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Link OpenSSL for component build when BoringSSL is disabled. #190

Open
wants to merge 1 commit into
base: 108-sdk
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions rtc_base/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,18 @@ if (!rtc_build_ssl) {
include_dirs = [ rtc_ssl_root ]

# WebRTC.Framework on iOS is a shared library. It checks symbol during building.
if (is_ios) {
libs = [
"crypto",
"ssl",
]
if (is_ios || is_component_build) {
if (is_win) {
libs = [
"libcrypto.lib",
"libssl.lib",
]
} else {
libs = [
"crypto",
"ssl",
]
}
lib_dirs = [ rtc_ssl_root + "/../lib" ]
}
}
Expand Down