aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-10-20 10:39:50 -0700
committerColin Cross <ccross@android.com>2016-10-20 10:39:50 -0700
commite6958d7c60a5a49b863271dee0aadae5afbbe924 (patch)
treeca3b67db95082d9f160c77535e14bf971b6245d3
parente62e764d92686eb44ddb4abd81ba2adc712b1347 (diff)
downloadlibevent-e6958d7c60a5a49b863271dee0aadae5afbbe924.tar.gz
Add missing host ldlibs
Host builds were compiling without -Wl,--no-undefined. Add missing host ldlibs so that -Wl,--no-undefined can be added again. Test: m -j host Bug: 32305815 Change-Id: I186dcf9f93d93e1ec2d2b83f18aa334fdfda99f1
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index bad0ea3..08a7dbb 100644
--- a/Android.bp
+++ b/Android.bp
@@ -67,6 +67,7 @@ cc_library {
},
linux: {
srcs: ["epoll.c"],
+ host_ldlibs: ["-lrt"],
},
darwin: {
srcs: ["kqueue.c"],