We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14c2300 commit f2c851bCopy full SHA for f2c851b
test cases/rewrite/8 tricky dataflow/meson.build
@@ -10,15 +10,15 @@ distraction = executable('distraction', link_with: tgt1)
10
11
12
tgt2_srcs = ['foo.c']
13
-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
14
tgt2_srcs += ['bar.c']
15
endif
16
executable('tgt2', tgt2_srcs)
17
18
19
tgt34_srcs = ['foo.c']
20
executable('tgt3', tgt34_srcs)
21
-if meson.host_machine().system() == 'windows'
+if host_machine.system() == 'windows'
22
tgt34_srcs += ['bar.c']
23
24
executable('tgt4', tgt34_srcs)
0 commit comments