Strip debug symbols from linux library files
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Mon, 24 Oct 2016 09:26:55 +0000 (12:26 +0300)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Mon, 24 Oct 2016 09:26:55 +0000 (12:26 +0300)
tools/make_linux_package.sh

index 6598936..d45f985 100755 (executable)
@@ -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 )