Skip to content

Commit 168089f

Browse files
committed
consistent comments about cc_library
1 parent 0522a90 commit 168089f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

third_party/BUILD.libsystemd.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cc_import(
1111
visibility = ["//visibility:private"],
1212
)
1313

14-
# Use an extra cc_library to hide the depth of the include folder
14+
# Use an extra cc_library to hide the depth of the include folder and to carry the linkopts below.
1515
cc_library(
1616
name = "libsystemd",
1717
includes = ["include"],

third_party/BUILD.libvirt.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ cc_import(
99
visibility = ["//visibility:private"],
1010
)
1111

12-
# Use an extra cc_library to carry the linkopts below.
12+
# Use an extra cc_library to hide the depth of the include folder and to carry the linkopts below.
1313
cc_library(
1414
name = "libvirt",
15+
includes = ["include"],
1516
# The host libvirt.so (and the host libsystemd.so it pulls in) is built
1617
# against the host glibc, which is newer than the glibc 2.31 the zig
1718
# toolchains target. zig 0.15's lld checks the undefined *versioned* symbol

0 commit comments

Comments
 (0)