Skip to content

Commit

Permalink
pw_bluetooth_sapphire: Statically link bt_host_bin
Browse files Browse the repository at this point in the history
Statically link bt-host to prevent shared library duplication leading to
size budget issues in Fuchsia.

Bug: b/367805596
Change-Id: I9aa9d624cd44bd69e3a84ffce84ce7121057f03a
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/236613
Lint: Lint 🤖 <[email protected]>
Docs-Not-Needed: Ben Lawson <[email protected]>
Reviewed-by: Ted Pudlik <[email protected]>
Commit-Queue: Ben Lawson <[email protected]>
  • Loading branch information
BenjaminLawson authored and CQ Bot Account committed Sep 17, 2024
1 parent 176d86a commit a5c19d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pw_bluetooth_sapphire/fuchsia/bt_host/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ fuchsia_cc_binary(
name = "bt_host_bin",
srcs = ["main.cc"],
bin_name = "bt_host",
# TODO: b/367805596 - Remove when dynamic linking size budget issues are resolved.
copts = ["-static"],
deps = [
":sources",
"//pw_log_fuchsia",
Expand Down

0 comments on commit a5c19d3

Please sign in to comment.