From 73664b8b033ae6b3cf447cccd3d4169b7a471444 Mon Sep 17 00:00:00 2001
From: akwizgran <michael@briarproject.org>
Date: Mon, 23 Oct 2023 14:58:10 +0100
Subject: [PATCH] Specify that native libs shouldn't be stripped.

This will help F-Droid to reproduce the build. It shouldn't
affect our own reproducible builds, as our build image
doesn't have the tools installed for stripping the libs
anyway.
---
 mailbox-android/build.gradle | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mailbox-android/build.gradle b/mailbox-android/build.gradle
index 15c3a719..6883003a 100644
--- a/mailbox-android/build.gradle
+++ b/mailbox-android/build.gradle
@@ -64,6 +64,7 @@ android {
         // Due to https://github.com/Kotlin/kotlinx.coroutines/issues/2023
         exclude 'META-INF/licenses/*'
         exclude '**/attach_hotspot_windows.dll'
+        doNotStrip '**/*.so'
     }
     lintOptions {
         warning 'MissingTranslation'
-- 
GitLab