summaryrefslogtreecommitdiffstats
path: root/drm/libdrmframework
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-09-09 16:10:32 -0700
committerJean-Baptiste Queru <jbq@google.com>2010-09-09 16:10:32 -0700
commit862438eb69297accde289230f4c4623b56a39458 (patch)
tree1da04a24945b25d62dc187e51e784a8950b797f0 /drm/libdrmframework
parent7547b8eac6a4011683a93f51fdabf5a978e1f18c (diff)
downloadframeworks_base-862438eb69297accde289230f4c4623b56a39458.zip
frameworks_base-862438eb69297accde289230f4c4623b56a39458.tar.gz
frameworks_base-862438eb69297accde289230f4c4623b56a39458.tar.bz2
fix build
Change-Id: Idccb3f2499bbaac61099d8232cadd633b93ad846
Diffstat (limited to 'drm/libdrmframework')
-rw-r--r--drm/libdrmframework/plugins/passthru/Android.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/drm/libdrmframework/plugins/passthru/Android.mk b/drm/libdrmframework/plugins/passthru/Android.mk
index a7bbf23..169b89b 100644
--- a/drm/libdrmframework/plugins/passthru/Android.mk
+++ b/drm/libdrmframework/plugins/passthru/Android.mk
@@ -24,8 +24,13 @@ LOCAL_MODULE := libdrmpassthruplugin
LOCAL_STATIC_LIBRARIES := libdrmframeworkcommon
LOCAL_SHARED_LIBRARIES := \
- libutils \
- libdl
+ libutils
+
+ifeq ($(TARGET_SIMULATOR),true)
+ LOCAL_LDLIBS += -ldl
+else
+ LOCAL_SHARED_LIBRARIES += libdl
+endif
LOCAL_PRELINK_MODULE := false