summaryrefslogtreecommitdiffstats
path: root/libs/ui/Android.mk
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
commite0a963b72ed7babf1ab21ffdfd9e2b93ae4fe63e (patch)
tree67b4654fd851eaf37dc172c58b7bae1651be0c5c /libs/ui/Android.mk
parent1f5105cf53c51e61f0adde24b90ddd54cc53d1cd (diff)
downloadframeworks_native-e0a963b72ed7babf1ab21ffdfd9e2b93ae4fe63e.zip
frameworks_native-e0a963b72ed7babf1ab21ffdfd9e2b93ae4fe63e.tar.gz
frameworks_native-e0a963b72ed7babf1ab21ffdfd9e2b93ae4fe63e.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/Android.mk')
-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)