Skip to content

Commit 039613b

Browse files
fix
1 parent 8fd8ba1 commit 039613b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

libc/hdr/CMakeLists.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,13 @@ add_proxy_header_library(
224224
)
225225

226226
# offsetof is a macro inside compiler resource header stddef.h
227-
# defining it directly as a header library
228-
add_header_library(offsetof_macros HDRS offsetof_macros.h)
227+
add_proxy_header_library(
228+
offsetof_macros
229+
HDRS
230+
offsetof_macros.h
231+
FULL_BUILD_DEPENDS
232+
libc.include.llvm-libc-macros.offsetof_macros
233+
)
229234

230235
add_subdirectory(types)
231236
add_subdirectory(func)

0 commit comments

Comments
 (0)