aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-08-18 20:07:26 +0300
committerlevlam <levlam@telegram.org>2025-08-18 20:07:26 +0300
commit09abb046b3bdc5d502c405e7848f84a90f5f1bc5 (patch)
tree5aacedd7bfcb68c161bde8536eb44602c797df86 /README.md
parent26970735b03ae428a6f10db881284c7e25e395d9 (diff)
Simplify low-memory build instructions.
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 2 insertions, 5 deletions
diff --git a/README.md b/README.md
index 7901a3931..12d2e0400 100644
--- a/README.md
+++ b/README.md
@@ -68,15 +68,12 @@ cmake --build .
```
To build `TDLib` on low memory devices you can run [SplitSource.php](https://github.com/tdlib/td/blob/master/SplitSource.php) script
-before compiling main `TDLib` source code and compile only needed targets:
+before compiling `TDLib` source code and compile only needed targets:
```
+php SplitSource.php
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
-cmake --build . --target prepare_cross_compiling
-cd ..
-php SplitSource.php
-cd build
cmake --build . --target tdjson
cmake --build . --target tdjson_static
cd ..