From 89aaa43cfbfa081a4c580d63b6d01e7dc017d1df Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Mon, 24 Oct 2016 12:26:55 +0300 Subject: Strip debug symbols from linux library files --- tools/make_linux_package.sh | 3 +++ 1 file changed, 3 insertions(+) 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 ) -- cgit 1.2.3-korg