summaryrefslogtreecommitdiffstats
path: root/libs/ui
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2009-09-09 08:00:09 -0700
committerAndy McFadden <fadden@android.com>2009-09-09 08:02:54 -0700
commitb9e52a07b7a605fe6d6588587bc74002f632c768 (patch)
tree7862a2acf078db635214fdfc0d0eb07a404490ad /libs/ui
parent11c803ac77b6a9b815180b4649a700361d3b8cfe (diff)
downloadframeworks_base-b9e52a07b7a605fe6d6588587bc74002f632c768.zip
frameworks_base-b9e52a07b7a605fe6d6588587bc74002f632c768.tar.gz
frameworks_base-b9e52a07b7a605fe6d6588587bc74002f632c768.tar.bz2
Fix sim-eng build.
Appears to have been broken by: commit 9779b221e999583ff89e0dfc40e56398737adbb3 Author: Mathias Agopian <mathias@google.com> Date: Mon Sep 7 16:32:45 2009 -0700 fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly For some reason we don't like to have "-lpthread" globally -- it's a no-op on device builds, but required for many host tools and all sim binaries -- so adding the use of pthread calls requires adding the library explicitly.
Diffstat (limited to 'libs/ui')
-rw-r--r--libs/ui/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ui/Android.mk b/libs/ui/Android.mk
index 348dd68..9577044 100644
--- a/libs/ui/Android.mk
+++ b/libs/ui/Android.mk
@@ -40,4 +40,8 @@ LOCAL_SHARED_LIBRARIES := \
LOCAL_MODULE:= libui
+ifeq ($(TARGET_SIMULATOR),true)
+ LOCAL_LDLIBS += -lpthread
+endif
+
include $(BUILD_SHARED_LIBRARY)