diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2010-09-09 16:16:14 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2010-09-09 16:16:14 -0700 |
commit | beeb71dfd4ffe635daba3745515bb392f7c5ada2 (patch) | |
tree | c4997e61e132de6cf41596af07ebaaff63a7f912 | |
parent | 862438eb69297accde289230f4c4623b56a39458 (diff) | |
download | frameworks_base-beeb71dfd4ffe635daba3745515bb392f7c5ada2.zip frameworks_base-beeb71dfd4ffe635daba3745515bb392f7c5ada2.tar.gz frameworks_base-beeb71dfd4ffe635daba3745515bb392f7c5ada2.tar.bz2 |
fix build
Change-Id: Iccb40c8c5df879288f35e0940c721d306fb75c12
-rw-r--r-- | drm/jni/Android.mk | 9 | ||||
-rw-r--r-- | drm/libdrmframework/Android.mk | 9 |
2 files changed, 14 insertions, 4 deletions
diff --git a/drm/jni/Android.mk b/drm/jni/Android.mk index 0731755..95ce75a 100644 --- a/drm/jni/Android.mk +++ b/drm/jni/Android.mk @@ -26,8 +26,13 @@ LOCAL_SHARED_LIBRARIES := \ libutils \ libandroid_runtime \ libnativehelper \ - libbinder \ - libdl + libbinder + +ifeq ($(TARGET_SIMULATOR),true) + LOCAL_LDLIBS += -ldl +else + LOCAL_SHARED_LIBRARIES += libdl +endif LOCAL_STATIC_LIBRARIES := 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_MODULE:= libdrmframework LOCAL_SHARED_LIBRARIES := \ libutils \ - libbinder \ - libdl + libbinder + +ifeq ($(TARGET_SIMULATOR),true) + LOCAL_LDLIBS += -ldl +else + LOCAL_SHARED_LIBRARIES += libdl +endif LOCAL_STATIC_LIBRARIES := \ libdrmframeworkcommon |