mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-20 19:45:00 +00:00
Update BUILD.md
This commit is contained in:
parent
684e0abb74
commit
a909dbfb56
1 changed files with 7 additions and 3 deletions
10
BUILD.md
10
BUILD.md
|
@ -237,13 +237,17 @@ You can then [run](README.md#run) _scrcpy_.
|
|||
_(SHA-256: ff3a454012e91d9185cfe8ca7691cea16c43a7dcc08e92fa47ab9f0ea675abd1)_
|
||||
|
||||
[direct-scrcpy-server]: https://github.com/Genymobile/scrcpy/releases/download/v1.11/scrcpy-server-v1.11
|
||||
Create a new directory inside the [scrcpy] folder, called [prebuiltServer] using:
|
||||
```bash
|
||||
mkdir prebuiltServer
|
||||
```
|
||||
|
||||
Download the prebuilt server somewhere, and specify its path during the Meson
|
||||
Download the prebuilt server into the [prebuilitServer] folder you just created, and specify its path during the Meson
|
||||
configuration:
|
||||
|
||||
```bash
|
||||
meson x --buildtype release --strip -Db_lto=true \
|
||||
-Dprebuilt_server=/path/to/scrcpy-server
|
||||
-Dprebuilt_server=prebuiltServer/name-of-scrcpy-server
|
||||
ninja -Cx
|
||||
sudo ninja -Cx install
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue