summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2014-03-15 21:26:33 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-15 21:26:33 +0000
commita4961e66b539d69b7656d93db05371b20efc8f3b (patch)
tree1ae8c1252e160707b66d643b0a17ac82175cb624
parentccd830adad7c1723331b6f3d2122b910088dd377 (diff)
parentd84869fbb8589430981ba19d2d1cbc9ef58b8df3 (diff)
downloadsystem_core-a4961e66b539d69b7656d93db05371b20efc8f3b.zip
system_core-a4961e66b539d69b7656d93db05371b20efc8f3b.tar.gz
system_core-a4961e66b539d69b7656d93db05371b20efc8f3b.tar.bz2
am d84869fb: am a0915abd: Merge "Fix build some more"
* commit 'd84869fbb8589430981ba19d2d1cbc9ef58b8df3': Fix build some more
-rw-r--r--liblog/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/liblog/Android.mk b/liblog/Android.mk
index a4c52e7..a23de2d 100644
--- a/liblog/Android.mk
+++ b/liblog/Android.mk
@@ -71,7 +71,9 @@ include $(BUILD_HOST_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := liblog
LOCAL_WHOLE_STATIC_LIBRARIES := liblog
+ifeq ($(strip $(HOST_OS)),linux)
LOCAL_LDLIBS := -lrt
+endif
include $(BUILD_HOST_SHARED_LIBRARY)