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:
parent
2d1d8812cc
commit
45a9d67cec
1 changed files with 5 additions and 2 deletions
|
@ -162,9 +162,12 @@ cc_test {
|
|||
shared_libs: [
|
||||
"libbase",
|
||||
"libcutils",
|
||||
"libselinux",
|
||||
],
|
||||
static_libs: ["libinit"],
|
||||
static_libs: [
|
||||
"libinit",
|
||||
"libselinux",
|
||||
"libcrypto",
|
||||
],
|
||||
}
|
||||
|
||||
subdirs = ["*"]
|
||||
|
|
Loading…
Reference in a new issue