[libc-commits] [libc] 876b0e6 - [libc] Fix signal's dependency on the proxy header sighandler_t. (#107605)

via libc-commits libc-commits at lists.llvm.org
Fri Sep 6 13:23:57 PDT 2024


Author: lntue
Date: 2024-09-06T16:23:53-04:00
New Revision: 876b0e60feb6ee4eabb1c8b52881117ce93b3c4c

URL: https://github.com/llvm/llvm-project/commit/876b0e60feb6ee4eabb1c8b52881117ce93b3c4c
DIFF: https://github.com/llvm/llvm-project/commit/876b0e60feb6ee4eabb1c8b52881117ce93b3c4c.diff

LOG: [libc] Fix signal's dependency on the proxy header sighandler_t. (#107605)

Added: 
    

Modified: 
    libc/hdr/types/CMakeLists.txt
    libc/src/signal/linux/CMakeLists.txt

Removed: 
    


################################################################################
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(


        


More information about the libc-commits mailing list