libportable: Add dependency on libdl.

The patch at [1] was reverted because ndk/sources/android/cpu-features
is now part of the platform build (as a dependency of libportable), and
now requires dlopen()/dlsym()/dlclose().

Because the platform build system doesn't support LOCAL_EXPORT_LDLIBS,
add the dependency to libportable's own module definition instead.
After this patch is submitted, it's possible to re-apply the original
patch and get a working build.

[1] https://android-review.googlesource.com/#/c/91380/

BUG=13679666

Change-Id: I54b4376a562242d21631eaf13090650decfe791d
This commit is contained in:
David 'Digit' Turner
2014-05-12 15:06:39 +02:00
parent 7b004d9606
commit e398009921

View File

@@ -39,7 +39,6 @@ LOCAL_SRC_FILES := \
$(libportable_src_files) $(libportable_src_files)
LOCAL_WHOLE_STATIC_LIBRARIES += cpufeatures LOCAL_WHOLE_STATIC_LIBRARIES += cpufeatures
LOCAL_SHARED_LIBRARIES += liblog libdl
LOCAL_SHARED_LIBRARIES += liblog
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)