[libc] Fix missed errno deps for integration tests (#211415)

Fullbuild testing pulls in LLVM-libc's errno, which needs to be linked
explicitly.
This commit is contained in:
Michael Jones 2026-07-23 08:56:24 -07:00 committed by GitHub
parent 3beb48b6bf
commit 66d6316c9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -25,6 +25,7 @@ if(${LIBC_TARGET_OS} STREQUAL "linux")
SRCS
setenv_test.cpp
DEPENDS
libc.src.errno.errno
libc.src.stdlib.getenv
libc.src.stdlib.setenv
libc.src.string.strcmp
@ -38,6 +39,7 @@ if(${LIBC_TARGET_OS} STREQUAL "linux")
unsetenv_test.cpp
DEPENDS
libc.src.__support.alloc_checker
libc.src.errno.errno
libc.src.stdlib.getenv
libc.src.stdlib.setenv
libc.src.stdlib.unsetenv

View file

@ -13,6 +13,7 @@ add_integration_test(
libc.hdr.sys_sem_macros
libc.hdr.types.struct_sembuf
libc.src.__support.threads.sleep
libc.src.errno.errno
libc.src.fcntl.open
libc.src.signal.kill
libc.src.stdlib.exit