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

Commit 2acb43c

Browse files
committed
Link OpenSSL for component build when BoringSSL is disabled.
1 parent 1f8b817 commit 2acb43c

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

rtc_base/BUILD.gn

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,18 @@ if (!rtc_build_ssl) {
2121
include_dirs = [ rtc_ssl_root ]
2222

2323
# WebRTC.Framework on iOS is a shared library. It checks symbol during building.
24-
if (is_ios) {
25-
libs = [
26-
"crypto",
27-
"ssl",
28-
]
24+
if (is_ios || is_component_build) {
25+
if (is_win) {
26+
libs = [
27+
"libcrypto.lib",
28+
"libssl.lib",
29+
]
30+
} else {
31+
libs = [
32+
"crypto",
33+
"ssl",
34+
]
35+
}
2936
lib_dirs = [ rtc_ssl_root + "/../lib" ]
3037
}
3138
}

0 commit comments

Comments
 (0)