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

Commit 1f8b817

Browse files
authored
Enable external OpenSSL for iOS. (#189)
1 parent c84e41d commit 1f8b817

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

rtc_base/BUILD.gn

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ if (!rtc_build_ssl) {
1919
assert(rtc_ssl_root != "",
2020
"You must specify rtc_ssl_root when rtc_build_ssl==0.")
2121
include_dirs = [ rtc_ssl_root ]
22+
23+
# WebRTC.Framework on iOS is a shared library. It checks symbol during building.
24+
if (is_ios) {
25+
libs = [
26+
"crypto",
27+
"ssl",
28+
]
29+
lib_dirs = [ rtc_ssl_root + "/../lib" ]
30+
}
2231
}
2332
}
2433

0 commit comments

Comments
 (0)