summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 6598936a..d45f9856 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 )