aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hirsch <scivision@users.noreply.github.com>2021-05-13 02:28:48 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2021-05-13 15:24:06 +0300
commit17307789746ba8034752d4dfa2972924567dfef0 (patch)
tree6000d93e8ef983c7f797cb789525e59349190ca3
parent0b2a7300c039e30d3a7430d6f77dc204876eac4b (diff)
downloadmeson-17307789746ba8034752d4dfa2972924567dfef0.zip
meson-17307789746ba8034752d4dfa2972924567dfef0.tar.gz
meson-17307789746ba8034752d4dfa2972924567dfef0.tar.bz2
test:fortran:21: fix Windows by using configure_file(copy:)
-rw-r--r--test cases/fortran/21 install static/meson.build2
-rw-r--r--test cases/fortran/21 install static/subprojects/static_hello/meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/test cases/fortran/21 install static/meson.build b/test cases/fortran/21 install static/meson.build
index a91613f..14485f5 100644
--- a/test cases/fortran/21 install static/meson.build
+++ b/test cases/fortran/21 install static/meson.build
@@ -9,7 +9,7 @@ static_dep = dependency('static_hello', fallback: ['static_hello', 'static_hello
mainsrc = 'main_lib.f90'
mainsrc = configure_file(
- command: [find_program('cp'), '@INPUT@', '@OUTPUT@'],
+ copy: true,
input: mainsrc,
output: 'main_lib_output.F90'
)
diff --git a/test cases/fortran/21 install static/subprojects/static_hello/meson.build b/test cases/fortran/21 install static/subprojects/static_hello/meson.build
index 7edca39..5e13bae 100644
--- a/test cases/fortran/21 install static/subprojects/static_hello/meson.build
+++ b/test cases/fortran/21 install static/subprojects/static_hello/meson.build
@@ -2,7 +2,7 @@ project('static-hello', 'fortran')
# staticlibsource = 'static_hello.f90'
staticlibsource = configure_file(
- command: [find_program('cp'), '@INPUT@', '@OUTPUT@'],
+ copy: true,
input: 'static_hello.f90',
output: 'static_hello_output.F90'
)