diff options
Diffstat (limited to 'updater/Android.mk')
-rw-r--r-- | updater/Android.mk | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/updater/Android.mk b/updater/Android.mk index a113fe86c..30b053559 100644 --- a/updater/Android.mk +++ b/updater/Android.mk @@ -14,13 +14,18 @@ LOCAL_PATH := $(call my-dir) -tune2fs_static_libraries := \ - libext2_com_err \ - libext2_blkid \ - libext2_quota \ - libext2_uuid \ - libext2_e2p \ - libext2fs +ifneq ($(wildcard external/e2fsprogs/misc/tune2fs.h),) + tune2fs_static_libraries := \ + libext2_com_err \ + libext2_blkid \ + libext2_quota \ + libext2_uuid \ + libext2_e2p \ + libext2fs + LOCAL_CFLAGS += -DHAVE_LIBTUNE2FS +else + tune2fs_static_libraries := +endif updater_common_static_libraries := \ libapplypatch \ |