From 1ab54c12e3206e289a6a2f9d39b565603d375646 Mon Sep 17 00:00:00 2001 From: Christopher Wiley Date: Tue, 1 Sep 2015 18:36:44 -0700 Subject: [PATCH] aidl: Don't link librt on Mac This fixes unittest build on Mac. Change-Id: I5180f647d1b5b41f99c4d0423aaec9d05fee6355 --- tools/aidl/Android.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.11.0