[libc-commits] [libc] 0c898b2 - [libc][Obvious] Fix incorrect dependency for alias target

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Wed Aug 9 12:47:23 PDT 2023


Author: Joseph Huber
Date: 2023-08-09T14:46:55-05:00
New Revision: 0c898b26b9ab82ee09440cb5747ddfd839a7728e

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

LOG: [libc][Obvious] Fix incorrect dependency for alias target

Summary:
This was not updated correctly, causing the alias to not be set as
expected. Fix this by using the correct `generic_` prefix.

Added: 
    

Modified: 
    libc/src/stdio/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/src/stdio/CMakeLists.txt b/libc/src/stdio/CMakeLists.txt
index 9d2532614ed44c..5e05ec73e3c1e1 100644
--- a/libc/src/stdio/CMakeLists.txt
+++ b/libc/src/stdio/CMakeLists.txt
@@ -13,7 +13,7 @@ function(add_stdio_entrypoint_object name)
       ${name}
       ALIAS
       DEPENDS
-        .${LIBC_TARGET_OS}.${name}
+        .generic_${name}
     )
   endif()
 endfunction(add_stdio_entrypoint_object)


        


More information about the libc-commits mailing list