summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-09-09 15:34:27 -0700
committerJean-Baptiste Queru <jbq@google.com>2010-09-09 15:34:27 -0700
commit93548db645dd4fd2b9c1dd270421ac0b38de720e (patch)
treea3e3df4c869e36e17c5912a8e5d4d71e8e7ff436
parent56aa3c761d4e8c618151e92135706838abd84a6c (diff)
downloadbase-93548db645dd4fd2b9c1dd270421ac0b38de720e.tar.gz
fix build
Change-Id: I603e317b774758add127d7fe386fd60dc16d3101
-rw-r--r--drm/drmioserver/Android.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/drm/drmioserver/Android.mk b/drm/drmioserver/Android.mk
index c40ce261326f..32afdd32f5b2 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