From 651e97456b24524a73070c6ea1c9c2696c02bd53 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sun, 22 Feb 2015 15:28:26 +0200 Subject: Include libprotobuf in linux binary package. Previously this got included by bbfreeze, but apparently no more. Update issue 146 Status: FixedInGit --- tools/make_linux_package.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/make_linux_package.sh b/tools/make_linux_package.sh index 332c281b..6598936a 100755 --- a/tools/make_linux_package.sh +++ b/tools/make_linux_package.sh @@ -31,7 +31,8 @@ rm $DEST/generator/protoc-gen-nanopb.py # Package the protoc compiler cp `which protoc` $DEST/generator-bin/protoc.bin LIBPROTOC=$(ldd `which protoc` | grep -o '/.*libprotoc[^ ]*') -cp $LIBPROTOC $DEST/generator-bin/ +LIBPROTOBUF=$(ldd `which protoc` | grep -o '/.*libprotobuf[^ ]*') +cp $LIBPROTOC $LIBPROTOBUF $DEST/generator-bin/ cat > $DEST/generator-bin/protoc << EOF #!/bin/bash SCRIPTDIR=\$(dirname "\$0") -- cgit 1.2.3-korg