diff options
Diffstat (limited to 'meson/test cases/unit/78 nostdlib/subprojects/mylibc/meson.build')
-rw-r--r-- | meson/test cases/unit/78 nostdlib/subprojects/mylibc/meson.build | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/unit/78 nostdlib/subprojects/mylibc/meson.build b/meson/test cases/unit/78 nostdlib/subprojects/mylibc/meson.build new file mode 100644 index 000000000..ff4bdb20f --- /dev/null +++ b/meson/test cases/unit/78 nostdlib/subprojects/mylibc/meson.build @@ -0,0 +1,13 @@ +project('own libc', 'c') + +# A very simple libc implementation + +# Do not specify -nostdlib & co. They come from cross specifications. + +libc = static_library('c', 'libc.c', 'stubstart.s') + +mylibc_dep = declare_dependency(link_with : libc, + include_directories : include_directories('.') +) + +meson.override_dependency('c_stdlib', mylibc_dep) |