summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2009-05-13 07:23:50 -0700
committerAndy McFadden <fadden@android.com>2009-05-13 07:25:03 -0700
commit6fc287b6f6df62c73e1057e26475fec2837296cc (patch)
treea6d10071e8272a004e63c3d9cb73c8b6afa9d836
parente67651c89d0cbb759219412d49cbc5680c17df06 (diff)
downloadsystem_core-6fc287b6f6df62c73e1057e26475fec2837296cc.zip
system_core-6fc287b6f6df62c73e1057e26475fec2837296cc.tar.gz
system_core-6fc287b6f6df62c73e1057e26475fec2837296cc.tar.bz2
Fix sim build (need explicit -lpthread).
-rw-r--r--libsysutils/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/libsysutils/Android.mk b/libsysutils/Android.mk
index cbb1edf..59461da 100644
--- a/libsysutils/Android.mk
+++ b/libsysutils/Android.mk
@@ -18,4 +18,8 @@ LOCAL_CFLAGS :=
LOCAL_SHARED_LIBRARIES := libcutils
+ifeq ($(TARGET_SIMULATOR),true)
+ LOCAL_LDLIBS += -lpthread
+endif
+
include $(BUILD_SHARED_LIBRARY)