Skip to content

Commit f2c851b

Browse files
Volker-Weissmannjpakkane
authored andcommitted
tests: host_machine instead of meson.host_machine()
1 parent 14c2300 commit f2c851b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test cases/rewrite/8 tricky dataflow/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ distraction = executable('distraction', link_with: tgt1)
1010

1111

1212
tgt2_srcs = ['foo.c']
13-
if meson.host_machine().system() == 'windows' # Some condition that cannot be known statically
13+
if host_machine.system() == 'windows' # Some condition that cannot be known statically
1414
tgt2_srcs += ['bar.c']
1515
endif
1616
executable('tgt2', tgt2_srcs)
1717

1818

1919
tgt34_srcs = ['foo.c']
2020
executable('tgt3', tgt34_srcs)
21-
if meson.host_machine().system() == 'windows'
21+
if host_machine.system() == 'windows'
2222
tgt34_srcs += ['bar.c']
2323
endif
2424
executable('tgt4', tgt34_srcs)

0 commit comments

Comments
 (0)