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
Loading
Please register or sign in to comment