aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Delva <adelva@google.com>2020-07-31 10:40:06 -0700
committerAlistair Delva <adelva@google.com>2020-07-31 10:40:08 -0700
commit83534bb2d821edc66db3e8324641aab26a7caaf5 (patch)
treea8b7d359431d6de3c9225db53ec7f972791d038a
parentb734cfd607de2050b9c477d2ede4941bd549e51d (diff)
downloaddtc-83534bb2d821edc66db3e8324641aab26a7caaf5.tar.gz
Enable shared library for libfdt
The dtc, fdtget and now crosvm.experimental host binaries can use libfdt. Make it a shared library instead of linking it statically into all of these tools. Change-Id: Ifefaaf3397ee6a1cd579bc140d03e69846e67745
-rw-r--r--Android.bp2
-rw-r--r--libfdt/Android.bp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 712bc4d..1863a43 100644
--- a/Android.bp
+++ b/Android.bp
@@ -10,7 +10,7 @@ cc_defaults {
"-DNO_YAML"
],
- static_libs: ["libfdt"],
+ shared_libs: ["libfdt"],
stl: "none",
dist: {
diff --git a/libfdt/Android.bp b/libfdt/Android.bp
index 16c6cf4..4551b4b 100644
--- a/libfdt/Android.bp
+++ b/libfdt/Android.bp
@@ -1,4 +1,4 @@
-cc_library_static {
+cc_library {
name: "libfdt",
host_supported: true,