strip ios like in android

This commit is contained in:
shum
2025-12-24 13:45:45 +00:00
parent 64b8e143c4
commit 37f8f2c00f

View File

@@ -102,7 +102,7 @@
sha256sum $out/_pkg/*.a
find "$out/_pkg" -type f \( -name "*.so" -o -name "*.a" -o -name "*.o" \) -exec sh -c '${pkgs.stdenv.cc.targetPrefix}strip --strip-unneeded "$1" || true' _ {} \;
find "$out/_pkg" -type f -name "*.a" -exec ${pkgs.stdenv.cc.targetPrefix}strip --strip-unneeded {} +
(cd $out/_pkg; ${pkgs.zip}/bin/zip -r -9 $out/${bundleName}.zip *)
rm -fR $out/_pkg