Fix build with global ThinLTO
resolv_unsolicited_listener uses symbols from some shared libs that happens to be re-exported by one of the static libs in non-LTO mode. ThinLTO is more aggressive/accurate at pruning unused symbols, thus the build fails due to missing symbols. Fixed by explicitly listing the dependent libs. Bug: 169004486 Test: m GLOBAL_THINLTO=true resolv_unsolicited_listener Change-Id: I1f633be1802ab00c5746eec511757e92109401c9
Loading
Please register or sign in to comment