1project('std_remains', 'c', default_options: ['c_std=c99'])
2
3executable('prog', 'prog.c')
4
5# Check that native: true does not affect the use of c_std in
6# non-cross builds
7
8if not meson.is_cross_build()
9  executable('prog2', 'prog.c', native: true)
10
11  # Check that even deps marked as native are found
12  # by default when not cross compiling.
13  dependency('ylib', method: 'pkg-config')
14endif
15