summaryrefslogtreecommitdiffstats
path: root/libs/audioflinger/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libs/audioflinger/Android.mk')
-rw-r--r--libs/audioflinger/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/audioflinger/Android.mk b/libs/audioflinger/Android.mk
index ea7d6c2..bb224be 100644
--- a/libs/audioflinger/Android.mk
+++ b/libs/audioflinger/Android.mk
@@ -54,4 +54,10 @@ ifeq ($(BOARD_HAVE_BLUETOOTH),true)
LOCAL_C_INCLUDES += $(call include-path-for, bluez)
endif
+ifeq ($(TARGET_SIMULATOR),true)
+ ifeq ($(HOST_OS),linux)
+ LOCAL_LDLIBS += -lrt -lpthread
+ endif
+endif
+
include $(BUILD_SHARED_LIBRARY)