From c2cef8d501226688c90f3d7038c799e669158b24 Mon Sep 17 00:00:00 2001 From: Yu-Chen Lin Date: Sat, 25 May 2019 10:56:17 +0800 Subject: [PATCH] server/meson.build: Prevent using input field for directory This will fix build warning in newer meson. Fix #540. Signed-off-by: Yu-Chen Lin --- server/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/meson.build b/server/meson.build index 327e6aca..d96373a0 100644 --- a/server/meson.build +++ b/server/meson.build @@ -4,9 +4,8 @@ prebuilt_server = get_option('prebuilt_server') if prebuilt_server == '' custom_target('scrcpy-server', build_always: true, # gradle is responsible for tracking source changes - input: '.', output: 'scrcpy-server.jar', - command: [find_program('./scripts/build-wrapper.sh'), '@INPUT@', '@OUTPUT@', get_option('buildtype')], + command: [find_program('./scripts/build-wrapper.sh'), meson.current_source_dir(), '@OUTPUT@', get_option('buildtype')], install: true, install_dir: 'share/scrcpy') else