summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drm/drmserver/Android.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/drm/drmserver/Android.mk b/drm/drmserver/Android.mk
index d2ebe8e..46a51bc 100644
--- a/drm/drmserver/Android.mk
+++ b/drm/drmserver/Android.mk
@@ -24,8 +24,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