[libc-commits] [libc] d20e632 - [libc][Obvious] Update the static archive target name for libc-api-test.

Siva Chandra Reddy via libc-commits libc-commits at lists.llvm.org
Wed Aug 17 16:19:08 PDT 2022


Author: Siva Chandra Reddy
Date: 2022-08-17T23:18:33Z
New Revision: d20e632853ad978e8008747d838d51b51d823a53

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

LOG: [libc][Obvious] Update the static archive target name for libc-api-test.

Added: 
    

Modified: 
    libc/test/src/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/test/src/CMakeLists.txt b/libc/test/src/CMakeLists.txt
index 94a73f3e65a1b..e4a30c271fe8c 100644
--- a/libc/test/src/CMakeLists.txt
+++ b/libc/test/src/CMakeLists.txt
@@ -81,7 +81,7 @@ add_custom_command(
 
   DEPENDS ${LIBC_SOURCE_DIR}/config/${LIBC_TARGET_OS}/api.td ${spec_files}
           libc-prototype-testgen ${TARGET_PUBLIC_HEADERS}
-          llvmlibc
+          c
 )
 
 add_executable(
@@ -96,7 +96,7 @@ set_target_properties(
   PROPERTIES
   INCLUDE_DIRECTORIES ""
 )
-target_link_libraries(libc-api-test llvmlibc)
+target_link_libraries(libc-api-test c)
 
 # Only include we need is the include for cpp::IsSame and our generated
 # public headers.


        


More information about the libc-commits mailing list