[libc-commits] [libc] [libc] Fix mbstate proxy header dep (PR #231984)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Oct 14 09:47:57 PDT 2026


https://github.com/michaelrj-google created https://github.com/llvm/llvm-project/pull/231984

The proxy header for mbstate_t listed the dependency on the
llvm-libc-types definition as a regular `DEPENDS` and not a
`FULL_BUILD_DEPENDS`. This PR move the dependency to the right category.


>From 0e7bdcf8d1396ec31c7f6ef1aeb07ea7ce59f8af Mon Sep 17 00:00:00 2001
From: Michael Jones <michaelrj at google.com>
Date: Wed, 14 Oct 2026 16:45:22 +0000
Subject: [PATCH] [libc] Fix mbstate proxy header dep

The proxy header for mbstate_t listed the dependency on the
llvm-libc-types definition as a regular `DEPENDS` and not a
`FULL_BUILD_DEPENDS`. This PR move the dependency to the right category.
---
 libc/hdr/types/CMakeLists.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libc/hdr/types/CMakeLists.txt b/libc/hdr/types/CMakeLists.txt
index 185eb05eb1394..605540a10dbb8 100644
--- a/libc/hdr/types/CMakeLists.txt
+++ b/libc/hdr/types/CMakeLists.txt
@@ -24,9 +24,8 @@ add_proxy_header_library(
   mbstate_t
   HDRS
     mbstate_t.h
-  DEPENDS
-    libc.include.llvm-libc-types.mbstate_t
   FULL_BUILD_DEPENDS
+    libc.include.llvm-libc-types.mbstate_t
     libc.include.uchar
 )
 



More information about the libc-commits mailing list