summaryrefslogtreecommitdiffstats
path: root/drm/drmioserver
diff options
context:
space:
mode:
Diffstat (limited to 'drm/drmioserver')
-rw-r--r--drm/drmioserver/Android.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/drm/drmioserver/Android.mk b/drm/drmioserver/Android.mk
index c40ce26..11571c7 100644
--- a/drm/drmioserver/Android.mk
+++ b/drm/drmioserver/Android.mk
@@ -22,8 +22,13 @@ LOCAL_SRC_FILES:= \
LOCAL_SHARED_LIBRARIES := \
libutils \
- libbinder \
- libdl
+ libbinder
+
+ifeq ($(TARGET_SIMULATOR),true)
+ LOCAL_LDLIBS += -ldl
+else
+ LOCAL_SHARED_LIBRARIES += libdl
+endif
LOCAL_STATIC_LIBRARIES := libdrmframeworkcommon
@@ -33,4 +38,6 @@ LOCAL_C_INCLUDES := \
LOCAL_MODULE:= drmioserver
+LOCAL_MODULE_TAGS := optional
+
include $(BUILD_EXECUTABLE)