From c34c89ca4ac5b1688e580341e8703fbbdd79dfda Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 15 Nov 2019 14:32:34 +0800 Subject: meson: Don't use 'cp' to copy files 'cp' is a UNIX/BASH shell-only command, which does not exist on standard Windows cmd.exe shells by default, so use a Python script that tries to do similar things. --- meson.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 56aa7c3..7efb71b 100644 --- a/meson.build +++ b/meson.build @@ -258,6 +258,9 @@ if build_python3_loader and not python3_found build_python3_loader = false endif +# Replace 'cp' calls +copyfile_script = find_program('copyfile.py') + subdir('libpeas') if build_gtk_widgetry == true subdir('libpeas-gtk') -- cgit v1.2.1