init: statically link libselinux to init_tests

The shared libselinux library does not export all of the symbols that
we use in init and the linker is now complaining about this, so let's
use the static libselinux library in init_tests to match init itself.

Test: build, init unit tests
Change-Id: I9011a959a7c49446b3529740e606140a4ee8c32d
This commit is contained in:
Tom Cherry 2017-08-09 17:09:04 -07:00
parent 2d1d8812cc
commit 45a9d67cec

View file

@ -162,9 +162,12 @@ cc_test {
shared_libs: [
"libbase",
"libcutils",
"libselinux",
],
static_libs: ["libinit"],
static_libs: [
"libinit",
"libselinux",
"libcrypto",
],
}
subdirs = ["*"]