summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2014-06-18 13:48:38 +0100
committerTorne (Richard Coles) <torne@google.com>2014-06-18 13:48:38 +0100
commit11d8ac2afb48aad2ae4e71042107f7d79a15c5c4 (patch)
tree09998bede1568b029942d646c2629ed3318a312b
parent55e298e6dc2a3e30046fe178ddb836bf9c7c7849 (diff)
downloadcore-11d8ac2afb48aad2ae4e71042107f7d79a15c5c4.tar.gz
core-11d8ac2afb48aad2ae4e71042107f7d79a15c5c4.tar.bz2
core-11d8ac2afb48aad2ae4e71042107f7d79a15c5c4.zip
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
-rw-r--r--fastboot/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/Android.mk b/fastboot/Android.mk
index 44b9651ba..5a651f4e1 100644
--- a/fastboot/Android.mk
+++ b/fastboot/Android.mk
@@ -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