mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-02 22:29:25 +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)_
|
_(SHA-256: ff3a454012e91d9185cfe8ca7691cea16c43a7dcc08e92fa47ab9f0ea675abd1)_
|
||||||
|
|
||||||
[direct-scrcpy-server]: https://github.com/Genymobile/scrcpy/releases/download/v1.11/scrcpy-server-v1.11
|
[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:
|
configuration:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
meson x --buildtype release --strip -Db_lto=true \
|
meson x --buildtype release --strip -Db_lto=true \
|
||||||
-Dprebuilt_server=/path/to/scrcpy-server
|
-Dprebuilt_server=prebuiltServer/name-of-scrcpy-server
|
||||||
ninja -Cx
|
ninja -Cx
|
||||||
sudo ninja -Cx install
|
sudo ninja -Cx install
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue