bazel: Add repo for package-local target labels (see #3757)

Unqualified target labels don't resolve correctly when the
disribution is loaded as an external repo. Mapping, if necessary,
can be performed using the `repo_mapping` parameter to
http_archive() or local_repository().
This commit is contained in:
Marshall Greenblatt
2024-07-31 17:53:27 -04:00
parent 446b7d6535
commit 5ddeef736a
7 changed files with 62 additions and 62 deletions

View File

@ -32,7 +32,7 @@ COMMON_LINKOPTS_RELEASE = [
COMMON_LINKOPTS = [
"-l{}".format(lib) for lib in STANDARD_LIBS
] + select({
"//:linux_dbg": COMMON_LINKOPTS_DEBUG,
"@cef//:linux_dbg": COMMON_LINKOPTS_DEBUG,
"//conditions:default": COMMON_LINKOPTS_RELEASE,
})