aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp11
1 files changed, 2 insertions, 9 deletions
diff --git a/Android.bp b/Android.bp
index 8e390041..bbebc33f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -403,19 +403,12 @@ cc_library {
},
target: {
- android: {
- shared_libs: ["libdl"],
- },
- linux: {
+ linux_glibc: {
+ // Remove dependencies on libgcc
ldflags: ["-nostdlib"],
- host_ldlibs: [
- "-lc",
- "-lpthread",
- ],
},
linux_bionic: {
enabled: true,
- shared_libs: ["libdl"],
},
},