From b9e52a07b7a605fe6d6588587bc74002f632c768 Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Wed, 9 Sep 2009 08:00:09 -0700 Subject: Fix sim-eng build. Appears to have been broken by: commit 9779b221e999583ff89e0dfc40e56398737adbb3 Author: Mathias Agopian 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. --- libs/ui/Android.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/ui') 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) -- cgit v1.1