Support make_f2fs.static for android flashstation am: 06a4db5b20 am: 8803867d83
Original change: https://android-review.googlesource.com/c/platform/external/f2fs-tools/+/1874158
Change-Id: Ia79b509dbde7b86a39716046f3d41542101ff8e7
diff --git a/Android.bp b/Android.bp
index 27ef5b6..48cdcd9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -204,6 +204,19 @@
},
}
+cc_binary_host {
+ name: "make_f2fs.static",
+ defaults: [
+ "make_f2fs_defaults",
+ ],
+ target: {
+ host: {
+ ldflags: ["-static"],
+ },
+ },
+ stl: "libc++_static",
+}
+
cc_binary {
name: "fsck.f2fs",
defaults: [