From d3247b66a16d081f2d356ab0f471e93b060f0ce8 Mon Sep 17 00:00:00 2001 From: Max de Danschutter Date: Fri, 20 Dec 2024 18:41:07 +0100 Subject: [PATCH] strip-all --- xbuild/src/command/build.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xbuild/src/command/build.rs b/xbuild/src/command/build.rs index b353444..d0b75b0 100644 --- a/xbuild/src/command/build.rs +++ b/xbuild/src/command/build.rs @@ -98,8 +98,7 @@ pub fn build(env: &BuildEnv) -> Result<()> { .expect("Could not copy lib before stripping its debug symbols"); std::process::Command::new("strip") - // I'm told this should always be valid for Android, so use this as the target - .arg("--strip-debug") + .arg("--strip-all") .arg(&lib) .spawn() .expect("Could not strip debug symbols from lib")