Skip to content

Commit

Permalink
Document building shared OpenSSL libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Jun 3, 2024
1 parent 760b35e commit 61a879e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions example/android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ If you want to update TDLib to a newer version, you need to run only the script

You can specify different OpenSSL version as the fourth parameter to the script `./build-openssl.sh`. By default OpenSSL 1.1.1 is used because of much smaller binary footprint and better performance than newer OpenSSL versions.

You can build shared OpenSSL libraries instead of static ones by passing any non-empty string as the fifth parameter to the script `./build-openssl.sh`. This can reduce total application size if you have a lot of other code that uses OpenSSL and want it to use the same shared library.

You can build TDLib against shared standard C++ library by specifying "c++_shared" as the fourth parameter to the script `./build-tdlib.sh`. This can reduce total application size if you have a lot of other C++ code and want it to use the same shared library.

You can also build TDLib with [JSON interface](https://github.com/tdlib/td#using-json) instead of [Java](https://github.com/tdlib/td#using-java) interface by passing "JSON" as the fifth parameter to the script `./build-tdlib.sh`.
Expand Down

0 comments on commit 61a879e

Please sign in to comment.