Merge "fastboot: Allow searching for needed dynamic libs in '.' (F2FS)"

This commit is contained in:
JP Abgrall 2014-06-19 21:51:15 +00:00 committed by Android (Google) Code Review
commit 188fdd1c0f

View file

@ -66,7 +66,7 @@ endif # HOST_OS != windows
ifeq ($(HOST_OS),linux)
# libf2fs_dlutils_host will dlopen("libf2fs_fmt_host_dyn")
LOCAL_CFLAGS += -DUSE_F2FS
LOCAL_LDFLAGS += -ldl -rdynamic
LOCAL_LDFLAGS += -ldl -rdynamic -Wl,-rpath,.
LOCAL_REQUIRED_MODULES := libf2fs_fmt_host_dyn
# The following libf2fs_* are from system/extras/f2fs_utils,
# and do not use code in external/f2fs-tools.