[libc] Fix assert.h and ctype.h not being built

The `assert.h` and `ctype.h` headers are never built despite their
entrypoints being present in the generated library. This patch adds a
dependency on these headers so that they will be built properly.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D138142
This commit is contained in:
Joseph Huber 2022-11-16 11:22:28 -06:00
parent cf4f35b788
commit dabb7514f5
5 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
set(TARGET_PUBLIC_HEADERS
libc.include.assert_h
libc.include.assert
libc.include.ctype
libc.include.errno
libc.include.fenv

View File

@ -1,5 +1,5 @@
set(TARGET_PUBLIC_HEADERS
libc.include.assert_h
libc.include.assert
libc.include.ctype
libc.include.dirent
libc.include.errno

View File

@ -69,7 +69,7 @@ add_gen_header(
)
add_gen_header(
assert_h
assert
DEF_FILE assert.h.def
GEN_HDR assert.h
DEPENDS

View File

@ -6,6 +6,7 @@ add_entrypoint_object(
__assert_fail.h
assert.h
DEPENDS
libc.include.assert
libc.src.__support.OSUtil.osutil
libc.src.stdlib.abort
)

View File

@ -5,6 +5,7 @@ add_entrypoint_object(
HDRS
isalnum.h
DEPENDS
libc.include.ctype
libc.src.__support.ctype_utils
)