Skip to content
Snippets Groups Projects
Commit e19c23ef authored by David Duarte's avatar David Duarte
Browse files

topshim/facade: Don't link with libbluetooth twice

libbluetooth was linked statically and dynamically causing a lot of
issue because of duplicated instances, to fix that we only link
with libbluetooth statically.

Linking statically with libluetooth is not straightforward because
of the dependency with bt_shim that depends on rust crates that
are used by bt_topshim_facade too, leading to linking twice with
theses libs and so the linker complaining of duplicate symbols.

To fix that we instead pass bt_shim as dependency of bt_topshim_facade
so the rust compiler will take care of only including the transitive
dependencies once

Test: m bt_topshim_facade
Test: out/host/linux-x86/bin/bt_topshim_facade

Change-Id: Ic24f383a4b2f9eda17f33dd344a90e416c482582
parent d05ca97f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment