From fc0373706d7031207aaaa46881be11c4c668e268 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Thu, 13 Sep 2018 14:20:28 -0700 Subject: [PATCH] libadbd_services: Link libselinux dynamically instead of statically. --- adb/Android.bp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/adb/Android.bp b/adb/Android.bp index 6cff0bea1..bccc71a4e 100644 --- a/adb/Android.bp +++ b/adb/Android.bp @@ -349,10 +349,6 @@ cc_library { "libavb_user", "libdiagnose_usb", "libqemu_pipe", - - // `daemon/shell_service.cpp` uses selinux_android_setcon(), which is not exposed by - // libselinux. - "libselinux", ], shared_libs: [ @@ -367,6 +363,7 @@ cc_library { "libfs_mgr", "liblog", "libmdnssd", + "libselinux", ], }