user: implement mlibc as the libc, finally.
It's finally done.. Signed-off-by: kaguya <vpshinomiya@protonmail.com>
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
if not bsd_option
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
libc_sources += files(
|
||||
'generic/arpa-nameser.cpp',
|
||||
'generic/ether.cpp',
|
||||
'generic/getopt.cpp',
|
||||
'generic/bsd_stdlib.cpp',
|
||||
'generic/pty.cpp',
|
||||
)
|
||||
|
||||
if not no_headers
|
||||
install_headers(
|
||||
'include/fstab.h',
|
||||
'include/pty.h',
|
||||
'include/utmp.h',
|
||||
)
|
||||
install_headers(
|
||||
'include/arpa/nameser.h',
|
||||
'include/arpa/nameser_compat.h',
|
||||
subdir: 'arpa'
|
||||
)
|
||||
install_headers(
|
||||
'include/sys/queue.h',
|
||||
subdir: 'sys'
|
||||
)
|
||||
install_headers(
|
||||
'include/netinet/ether.h',
|
||||
subdir: 'netinet'
|
||||
)
|
||||
install_headers(
|
||||
'include/bits/bsd/bsd_stdlib.h',
|
||||
'include/bits/bsd/bsd_unistd.h',
|
||||
subdir: 'bits/bsd'
|
||||
)
|
||||
endif
|
||||
Reference in New Issue
Block a user