summaryrefslogtreecommitdiff
path: root/tools/aidl
diff options
context:
space:
mode:
authorChristopher Wiley <wiley@google.com>2015-09-01 18:36:44 -0700
committerChristopher Wiley <wiley@google.com>2015-09-02 08:59:30 -0700
commit1ab54c12e3206e289a6a2f9d39b565603d375646 (patch)
treee6da8b5ba82220f12ea9971d7d02ffa98b4ca475 /tools/aidl
parentdd80a6cf37799b41ae07c60137d312c5ea2db961 (diff)
aidl: Don't link librt on Mac
This fixes unittest build on Mac. Change-Id: I5180f647d1b5b41f99c4d0423aaec9d05fee6355
Diffstat (limited to 'tools/aidl')
-rw-r--r--tools/aidl/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/aidl/Android.mk b/tools/aidl/Android.mk
index 354563ae48bc..542f272d8af7 100644
--- a/tools/aidl/Android.mk
+++ b/tools/aidl/Android.mk
@@ -64,7 +64,8 @@ LOCAL_STATIC_LIBRARIES := \
libgmock_host \
libgtest_host \
-LOCAL_LDLIBS := -lrt
+LOCAL_LDLIBS_linux := -lrt
+
include $(BUILD_HOST_NATIVE_TEST)
endif # No TARGET_BUILD_APPS or TARGET_BUILD_PDK