[libc-commits] [libc] e1171e6 - [libc][dlfcn] Remove unused errno dep (#152222)

via libc-commits libc-commits at lists.llvm.org
Thu Aug 7 07:48:33 PDT 2025


Author: Caslyn Tonelli
Date: 2025-08-07T07:48:28-07:00
New Revision: e1171e6a98f9c1a5cd465a47210b2678631a9c3c

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

LOG: [libc][dlfcn] Remove unused errno dep (#152222)

This removes the errno dep for the stub libdl functions, since there is
no need for it.

Added: 
    

Modified: 
    libc/src/dlfcn/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/src/dlfcn/CMakeLists.txt b/libc/src/dlfcn/CMakeLists.txt
index 8ef0540c01a2e..2ee3ac074267f 100644
--- a/libc/src/dlfcn/CMakeLists.txt
+++ b/libc/src/dlfcn/CMakeLists.txt
@@ -14,7 +14,6 @@ add_entrypoint_object(
     dlerror.h
   DEPENDS
     libc.include.dlfcn
-    libc.src.errno.errno
 )
 
 add_entrypoint_object(
@@ -25,7 +24,6 @@ add_entrypoint_object(
     dlopen.h
   DEPENDS
     libc.include.dlfcn
-    libc.src.errno.errno
 )
 
 add_entrypoint_object(
@@ -36,7 +34,6 @@ add_entrypoint_object(
     dlsym.h
   DEPENDS
     libc.include.dlfcn
-    libc.src.errno.errno
 )
 
 add_entrypoint_object(
@@ -47,7 +44,6 @@ add_entrypoint_object(
     dlinfo.h
   DEPENDS
     libc.include.dlfcn
-    libc.src.errno.errno
 )
 
 add_entrypoint_object(
@@ -58,5 +54,4 @@ add_entrypoint_object(
     dladdr.h
   DEPENDS
     libc.include.dlfcn
-    libc.src.errno.errno
 )


        


More information about the libc-commits mailing list