You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[build] Fix use of the OPENSSL_USE_STATIC_LIBS CMake option (#3117).
Now SRT_USE_OPENSSL_STATIC_LIBS is the CMake option of SRT. The OPENSSL_USE_STATIC_LIBS is CMake's option, still has to be used if SRT_USE_OPENSSL_STATIC_LIBS is set.
---------
Co-authored-by: lilinxiong <[email protected]>
Co-authored-by: Mikolaj Malecki <[email protected]>
Copy file name to clipboardExpand all lines: docs/build/build-options.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ Option details are given further below.
64
64
|[`USE_ENCLIB`](#use_enclib)| 1.3.3 |`STRING`| openssl | Encryption library to be used (`openssl`, `openssl-evp` (since 1.5.1), `gnutls`, `mbedtls`, `botan` (since 1.6.0)). |
65
65
|[`USE_GNUSTL`](#use_gnustl)| 1.3.4 |`BOOL`| OFF | Use `pkg-config` with the `gnustl` package name to extract the header and library path for the C++ standard library. |
66
66
|[`USE_OPENSSL_PC`](#use_openssl_pc)| 1.3.0 |`BOOL`| ON | Use `pkg-config` to find OpenSSL libraries. |
67
-
|[`OPENSSL_USE_STATIC_LIBS`](#openssl_use_static_libs)| 1.5.0 |`BOOL`| OFF | Link OpenSSL statically. |
67
+
|[`SRT_USE_OPENSSL_STATIC_LIBS`](#srt_use_openssl_static_libs)| 1.5.0 |`BOOL`| OFF | Link OpenSSL statically. |
68
68
|[`USE_STATIC_LIBSTDCXX`](#use_static_libstdcxx)| 1.2.0 |`BOOL`| OFF | Enforces linking the SRT library against the static `libstdc++` library. |
69
69
|[`WITH_COMPILER_PREFIX`](#with_compiler_prefix)| 1.3.0 |`STRING`| OFF | Sets C/C++ toolchains as `<prefix><c-compiler>` and `<prefix><c++-compiler>`, overriding the default compiler. |
70
70
|[`WITH_COMPILER_TYPE`](#with_compiler_type)| 1.3.0 |`STRING`| OFF | Sets the compiler type to be used (values: gcc, cc, clang, etc.). |
@@ -618,8 +618,8 @@ built-in one).
618
618
When ON, uses `pkg-config` to find OpenSSL libraries. You can turn this OFF to
619
619
force `cmake` to find OpenSSL by its own preferred method.
When `pkg-config`(`-DUSE_OPENSSL_PC=ON`) is used, static OpenSSL libraries are listed in `SSL_STATIC_LIBRARIES`. See `<prefix>_STATIC` in [CMake's FindPkgConfig](https://cmake.org/cmake/help/latest/module/FindPkgConfig.html).
0 commit comments