diff options
author | Volker Weißmann <volker.weissmann@gmx.de> | 2025-07-31 15:35:34 +0200 |
---|---|---|
committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-08-10 20:26:58 +0300 |
commit | f2c851b6f0452cad8bbbc5838c9a0f91aecdf593 (patch) | |
tree | 0c89309943bae62d4a2ea1ee2e45d9535fe6af4b | |
parent | 14c2300ddefcb5d92f099bd8661ee8edd33cc73a (diff) | |
download | meson-f2c851b6f0452cad8bbbc5838c9a0f91aecdf593.zip meson-f2c851b6f0452cad8bbbc5838c9a0f91aecdf593.tar.gz meson-f2c851b6f0452cad8bbbc5838c9a0f91aecdf593.tar.bz2 |
tests: host_machine instead of meson.host_machine()
-rw-r--r-- | test cases/rewrite/8 tricky dataflow/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test cases/rewrite/8 tricky dataflow/meson.build b/test cases/rewrite/8 tricky dataflow/meson.build index ab572ea..0431739 100644 --- a/test cases/rewrite/8 tricky dataflow/meson.build +++ b/test cases/rewrite/8 tricky dataflow/meson.build @@ -10,7 +10,7 @@ distraction = executable('distraction', link_with: tgt1) tgt2_srcs = ['foo.c'] -if meson.host_machine().system() == 'windows' # Some condition that cannot be known statically +if host_machine.system() == 'windows' # Some condition that cannot be known statically tgt2_srcs += ['bar.c'] endif executable('tgt2', tgt2_srcs) @@ -18,7 +18,7 @@ executable('tgt2', tgt2_srcs) tgt34_srcs = ['foo.c'] executable('tgt3', tgt34_srcs) -if meson.host_machine().system() == 'windows' +if host_machine.system() == 'windows' tgt34_srcs += ['bar.c'] endif executable('tgt4', tgt34_srcs) |