diff options
author | Christopher Wiley <wiley@google.com> | 2015-09-01 18:36:44 -0700 |
---|---|---|
committer | Christopher Wiley <wiley@google.com> | 2015-09-02 08:59:30 -0700 |
commit | 1ab54c12e3206e289a6a2f9d39b565603d375646 (patch) | |
tree | e6da8b5ba82220f12ea9971d7d02ffa98b4ca475 | |
parent | dd80a6cf37799b41ae07c60137d312c5ea2db961 (diff) |
aidl: Don't link librt on Mac
This fixes unittest build on Mac.
Change-Id: I5180f647d1b5b41f99c4d0423aaec9d05fee6355
-rw-r--r-- | tools/aidl/Android.mk | 3 |
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 |