[libc-commits] [libc] [libc] Fix signal's dependency on the proxy header sighandler_t. (PR #107605)
via libc-commits
libc-commits at lists.llvm.org
Fri Sep 6 09:31:14 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: None (lntue)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/107605.diff
2 Files Affected:
- (modified) libc/hdr/types/CMakeLists.txt (+1-1)
- (modified) libc/src/signal/linux/CMakeLists.txt (+1)
``````````diff
diff --git a/libc/hdr/types/CMakeLists.txt b/libc/hdr/types/CMakeLists.txt
index ea7bbccffbb819..3f4d70140082cf 100644
--- a/libc/hdr/types/CMakeLists.txt
+++ b/libc/hdr/types/CMakeLists.txt
@@ -173,7 +173,7 @@ add_proxy_header_library(
)
add_proxy_header_library(
- __sighandler_t
+ sighandler_t
HDRS
sighandler_t.h
FULL_BUILD_DEPENDS
diff --git a/libc/src/signal/linux/CMakeLists.txt b/libc/src/signal/linux/CMakeLists.txt
index 5a6be242ddd94f..103175bb139bab 100644
--- a/libc/src/signal/linux/CMakeLists.txt
+++ b/libc/src/signal/linux/CMakeLists.txt
@@ -126,6 +126,7 @@ add_entrypoint_object(
DEPENDS
.sigaction
libc.hdr.signal_macros
+ libc.hdr.types.sighandler_t
)
add_entrypoint_object(
``````````
</details>
https://github.com/llvm/llvm-project/pull/107605
More information about the libc-commits
mailing list