diff options
author | Jiyong Park <jiyong@google.com> | 2020-09-18 16:22:13 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2020-09-18 16:22:41 +0900 |
commit | 78b225a0d2512f03c51d666c7ed74b1c644d3dc9 (patch) | |
tree | f9909564bd6b3c4338b5b007d63b71b832b7cf28 | |
parent | 0535db6ad370576d8ed78b89c756045dbd7d29e2 (diff) | |
download | libnl-78b225a0d2512f03c51d666c7ed74b1c644d3dc9.tar.gz |
Don't use include/linux-private on bionic targets
target.host covers both linux_glibc and linux_bionic. Including the
headers in the directory for linux_bionic causes missing type errors
because the headers were not written with bionic in mind. Includ the
headers only for linux_glibc.
linux_bionic doesn't need extra headers because android (the device
target which also uses bionic) is built as such.
Bug: 159685774
Test: HOST_CROSS_OS=linux_bionic HOST_CROSS_ARCH=arm64 m \
out/soong/host/linux_bionic-arm64/bin/run_cvd
Change-Id: I4a223759e6665ed740e3fa3c9c2dabf60828c9bf
-rw-r--r-- | Android.bp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ cc_library { darwin: { enabled: false, }, - host: { + linux_glibc: { local_include_dirs: [ "include/linux-private", ], |