Skip to content

Commit 261e21a

Browse files
michaelrj-googlesmallp-o-p
authored andcommitted
[libc] Fix path to fcntl_overlay in cmake (llvm#114464)
The proxy header definition for mode_t was using an incorrect form for its dependency on fcntl_overlay. The relative paths for dependencies can only go down, not up so "../" doesn't work. This patch fixes it to be absolute.
1 parent e963af7 commit 261e21a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/hdr/types/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ add_proxy_header_library(
5151
HDRS
5252
mode_t.h
5353
DEPENDS
54-
../fcntl_overlay
54+
libc.hdr.fcntl_overlay
5555
FULL_BUILD_DEPENDS
5656
libc.include.llvm-libc-types.mode_t
5757
libc.include.fcntl

0 commit comments

Comments
 (0)