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:
@@ -39,7 +39,6 @@ LOCAL_SRC_FILES := \
|
||||
$(libportable_src_files)
|
||||
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES += cpufeatures
|
||||
|
||||
LOCAL_SHARED_LIBRARIES += liblog
|
||||
LOCAL_SHARED_LIBRARIES += liblog libdl
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
Reference in New Issue
Block a user