--- ./common/dotlock.c.orig	2021-01-11 12:55:18.000000000 +0100
+++ ./common/dotlock.c	2021-12-27 23:14:49.318866495 +0100
@@ -622,6 +622,10 @@
 static int
 use_hardlinks_p (const char *tname)
 {
+#ifdef __ANDROID__
+  return 1;
+#endif
+
   char *lname;
   struct stat sb;
   unsigned int nlink;
