blob: 9c5f949b2972f3056095d5c4086c905dc6b2de03 [file] [log] [blame]
project('own libc', 'c')
# Not related to this test, but could not find a better place for this test.
assert(meson.get_cross_property('nonexisting', 'defaultvalue') == 'defaultvalue',
'Cross prop getting is broken.')
# A simple project that uses its own libc.
# Note that we don't need to specify anything, the flags to use
# stdlib come from the cross file.
exe = executable('selfcontained', 'prog.c')
test('standalone test', exe)