diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2016-10-24 12:26:55 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2016-10-24 12:26:55 +0300 |
commit | 89aaa43cfbfa081a4c580d63b6d01e7dc017d1df (patch) | |
tree | ae1bca6a1b21636b0f04cc2cd018f0f59521b1c5 /tools | |
parent | b850cf9fb101e0fe7fd71150210c6ff9877e57c1 (diff) |
Strip debug symbols from linux library files
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/make_linux_package.sh | 3 |
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 ) |