[libc-commits] [libc] 3d9e646 - [libc][obvious] fix missing stdio dependency

Michael Jones via libc-commits libc-commits at lists.llvm.org
Mon Mar 20 17:37:15 PDT 2023


Author: Michael Jones
Date: 2023-03-20T17:37:09-07:00
New Revision: 3d9e646c7c9f5552f4476306c8e712e3a5711fd0

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

LOG: [libc][obvious] fix missing stdio dependency

Differential Revision: https://reviews.llvm.org/D146482

Added: 
    

Modified: 
    libc/src/wchar/CMakeLists.txt
    libc/test/src/wchar/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/src/wchar/CMakeLists.txt b/libc/src/wchar/CMakeLists.txt
index 58e168266829c..5cf980e958a99 100644
--- a/libc/src/wchar/CMakeLists.txt
+++ b/libc/src/wchar/CMakeLists.txt
@@ -6,5 +6,6 @@ add_entrypoint_object(
   HDRS
     wctob.h
   DEPENDS 
+    libc.include.stdio
     libc.src.__support.wctype_utils
 )

diff  --git a/libc/test/src/wchar/CMakeLists.txt b/libc/test/src/wchar/CMakeLists.txt
index 88b68c43491a6..8b03002e90224 100644
--- a/libc/test/src/wchar/CMakeLists.txt
+++ b/libc/test/src/wchar/CMakeLists.txt
@@ -7,6 +7,7 @@ add_libc_unittest(
   SRCS
     btowc_test.cpp
   DEPENDS
+    libc.include.stdio
     libc.src.wchar.btowc
 )
 


        


More information about the libc-commits mailing list