summaryrefslogtreecommitdiffstats
path: root/rild/Android.mk
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2009-10-06 16:24:51 -0700
committerDoug Kwan <dougkwan@google.com>2009-10-06 16:24:51 -0700
commit1371755ff9165d109138ba795aa24f64f10ae881 (patch)
tree7f91953827ab0d77a2706bff51eadae4a84b4e3b /rild/Android.mk
parent05a10dd9667c7c3f775e1b63334bc6c644e5ca9a (diff)
downloadandroid_hardware_ril-1371755ff9165d109138ba795aa24f64f10ae881.tar.gz
android_hardware_ril-1371755ff9165d109138ba795aa24f64f10ae881.tar.bz2
android_hardware_ril-1371755ff9165d109138ba795aa24f64f10ae881.zip
Add back a missing shared library used by rild to linker command line. Currently this works because the library is linked via dependency of another shared library used by
rild. This is fragile and not the right thing to do. The library is used only for ARM so also need to check the target.
Diffstat (limited to 'rild/Android.mk')
-rw-r--r--rild/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/rild/Android.mk b/rild/Android.mk
index 7c8620a..5192fd9 100644
--- a/rild/Android.mk
+++ b/rild/Android.mk
@@ -11,6 +11,10 @@ LOCAL_SHARED_LIBRARIES := \
libcutils \
libril
+ifeq ($(TARGET_ARCH),arm)
+LOCAL_SHARED_LIBRARIES += libdl
+endif # arm
+
LOCAL_CFLAGS := -DRIL_SHLIB
LOCAL_MODULE:= rild