OSDN Git Service

f2fs utils: set correct dependency on dynamic libf2fs
authorJP Abgrall <jpa@google.com>
Wed, 18 Jun 2014 18:55:28 +0000 (11:55 -0700)
committerJP Abgrall <jpa@google.com>
Wed, 25 Jun 2014 04:26:23 +0000 (21:26 -0700)
commit5e2dc248acc52aec6aea33d2268fdf38d45cf21b
tree9bb58a8a6f789b327bb0ce41ed04c3bba1fc3a8a
parent136c149632302337df2d225bb85ee3db3d7e1971
f2fs utils: set correct dependency on dynamic libf2fs

Don't link against it anymore.
Just let dlopen() deal with it correctly.
The "config" struct will come from the f2fs_ioutils
and libf2fs_fmt_host expects to have it global, so let
link with -rdynamic and let dlopen() resolve it.

Be more aggressive with linux-only builds.

Bug: 15717498
Change-Id: I03ebebed1fc652170b44f809df42c1f8595216eb
Signed-off-by: JP Abgrall <jpa@google.com>
f2fs_utils/Android.mk
f2fs_utils/f2fs_dlutils.c