Skip to content

Commit 26f7150

Browse files
committed
[bazel] Add missing dependencies for 8cd4ecf
1 parent 412c2fd commit 26f7150

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

utils/bazel/llvm-project-overlay/libc/BUILD.bazel

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,16 @@ libc_support_library(
570570
],
571571
)
572572

573+
libc_support_library(
574+
name = "__support_file_linux_lseekimpl",
575+
hdrs = ["src/__support/File/linux/lseekImpl.h"],
576+
deps = [
577+
":__support_common",
578+
":__support_error_or",
579+
":__support_osutil_syscall",
580+
],
581+
)
582+
573583
libc_support_library(
574584
name = "__support_named_pair",
575585
hdrs = ["src/__support/named_pair.h"],
@@ -2530,13 +2540,10 @@ libc_function(
25302540
libc_function(
25312541
name = "lseek",
25322542
srcs = ["src/unistd/linux/lseek.cpp"],
2533-
hdrs = [
2534-
"src/__support/File/linux/lseekImpl.h",
2535-
"src/unistd/lseek.h",
2536-
],
2543+
hdrs = ["src/unistd/lseek.h"],
25372544
deps = [
25382545
":__support_common",
2539-
":__support_error_or",
2546+
":__support_file_linux_lseekimpl",
25402547
":__support_osutil_syscall",
25412548
":errno",
25422549
],

0 commit comments

Comments
 (0)