2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-08-31 06:15:25 +00:00

Merge pull request #442 from npes87184/master

server/meson.build: support relative path for prebuilt_server
This commit is contained in:
Romain Vimont
2019-03-03 11:16:13 +01:00
committed by GitHub

View File

@@ -10,6 +10,10 @@ if prebuilt_server == ''
install: true,
install_dir: 'share/scrcpy')
else
if not prebuilt_server.startswith('/')
# relative path needs some trick
prebuilt_server = meson.source_root() + '/' + prebuilt_server
endif
custom_target('scrcpy-server-prebuilt',
input: prebuilt_server,
output: 'scrcpy-server.jar',