Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-10-24 12:26:55 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-10-24 12:26:55 +0300
commit89aaa43cfbfa081a4c580d63b6d01e7dc017d1df (patch)
treeae1bca6a1b21636b0f04cc2cd018f0f59521b1c5 /tools
parentb850cf9fb101e0fe7fd71150210c6ff9877e57c1 (diff)
Strip debug symbols from linux library files
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make_linux_package.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/make_linux_package.sh b/tools/make_linux_package.sh
index 6598936..d45f985 100755
--- a/tools/make_linux_package.sh
+++ b/tools/make_linux_package.sh
@@ -42,6 +42,9 @@ exec "\$SCRIPTDIR/protoc.bin" "\$@"
EOF
chmod +x $DEST/generator-bin/protoc
+# Remove debugging symbols to reduce size of package
+( cd $DEST; strip *.so )
+
# Tar it all up
( cd dist; tar -czf $VERSION.tar.gz $VERSION )