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

Commit

Permalink
Link OpenSSL for component build when BoringSSL is disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
jianjunz committed Feb 24, 2023
1 parent 1f8b817 commit 4df1859
Showing 1 changed file with 12 additions and 5 deletions.
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

0 comments on commit 4df1859

Please sign in to comment.