Skip to content

Commit 0b2b87b

Browse files
[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 8413599 commit 0b2b87b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/hdr/types/CMakeLists.txt

+1-1
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)