Only try and use f2fs on linux.

F2FS was already disabled on windows, but the library doesn't build for
mac either, so only try and use it on Linux hosts.

Change-Id: I8bacfa4c01c9ee13123aef6d05d17b3f9094c765
This commit is contained in:
Torne (Richard Coles) 2014-06-18 13:48:38 +01:00
parent 55e298e6dc
commit 11d8ac2afb
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ ifneq ($(HOST_OS),windows)
LOCAL_STATIC_LIBRARIES += libselinux
endif # HOST_OS != windows
ifneq ($(HOST_OS),windows)
ifeq ($(HOST_OS),linux)
# libf2fs_dlutils_host will dlopen("libf2fs_fmt_host_dyn")
LOCAL_CFLAGS += -DUSE_F2FS
LOCAL_LDLIBS += -ldl