ebtables: Convert to standalone build
* There is no need to create 20 shared libraries on an Android
build. Convert to a standalone build to eliminate this noise.
* Additionally, the scriptage in the Android makefile causes
Ninja to regenerate it's configuration for every build. Fix it.
* These files can be generated by the standard makefile as part
of the "static" target.
Change-Id: I1de9f93caf563c10f49c72a884b4c96aaf5335e0
diff --git a/extensions/ebt_nat.c b/extensions/ebt_nat.c
index e6afbf8..8405091 100644
--- a/extensions/ebt_nat.c
+++ b/extensions/ebt_nat.c
@@ -231,7 +231,7 @@
.extra_ops = opts_d,
};
-void _init(void)
+void _nat_init(void)
{
ebt_register_target(&snat_target);
ebt_register_target(&dnat_target);