am beeb71df: fix build

Merge commit 'beeb71dfd4ffe635daba3745515bb392f7c5ada2' into gingerbread-plus-aosp

* commit 'beeb71dfd4ffe635daba3745515bb392f7c5ada2':
  fix build
diff --git a/drm/libdrmframework/Android.mk b/drm/libdrmframework/Android.mk
index c25d79b..765adba 100644
--- a/drm/libdrmframework/Android.mk
+++ b/drm/libdrmframework/Android.mk
@@ -25,8 +25,13 @@
 
 LOCAL_SHARED_LIBRARIES := \
     libutils \
-    libbinder \
-    libdl
+    libbinder
+
+ifeq ($(TARGET_SIMULATOR),true)
+ LOCAL_LDLIBS += -ldl
+else
+ LOCAL_SHARED_LIBRARIES += libdl
+endif
 
 LOCAL_STATIC_LIBRARIES := \
     libdrmframeworkcommon