aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/78 nostdlib/subprojects/mylibc/meson.build
blob: ff4bdb20f42291e8ab53b07f5e6203f4480290ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)