commit | 38a3ffa059a42f281c34f829376c6e6588a9b9f2 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Sep 08 14:19:51 2016 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Sep 08 14:19:51 2016 -0700 |
tree | 3650e9f4015bdbae7402bb83575747bd83908e2c | |
parent | 02c69809c510788efcf3b17be60b1e2ea49ea46f [diff] |
Fix mac build -lrt doesn't exist on the mac Change-Id: I5f9c62bc2338a09141d2e1baa29ff6a68eb2c6b2
diff --git a/build/Android.bp b/build/Android.bp index ec374f2..630cf3c 100644 --- a/build/Android.bp +++ b/build/Android.bp
@@ -101,6 +101,9 @@ // Apple, it's a pain. "-Wmissing-noreturn", ], + host_ldlibs: [ + "-lrt", + ], }, host: { cflags: [ @@ -111,7 +114,6 @@ host_ldlibs: [ "-ldl", "-lpthread", - "-lrt", ], }, },