Skip to content

Commit

Permalink
[libc] Fix path to fcntl_overlay in cmake (llvm#114464)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
michaelrj-google authored Oct 31, 2024
1 parent 8413599 commit 0b2b87b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libc/hdr/types/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ add_proxy_header_library(
HDRS
mode_t.h
DEPENDS
../fcntl_overlay
libc.hdr.fcntl_overlay
FULL_BUILD_DEPENDS
libc.include.llvm-libc-types.mode_t
libc.include.fcntl
Expand Down

0 comments on commit 0b2b87b

Please sign in to comment.