Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-02-22 16:28:26 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-06-19 10:24:42 +0300
commit2f1930d4f0464198ebad2dcebd96e5b9794963cc (patch)
tree13e9f9cb055c90dcf8fcdf1a7b4d739d5fd3b3a1
parent54c34a9fda152937d4cd0c7fd85c067fca23af75 (diff)
Include libprotobuf in linux binary package.
Previously this got included by bbfreeze, but apparently no more. Update issue 146 Status: FixedInGit
-rwxr-xr-xtools/make_linux_package.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/make_linux_package.sh b/tools/make_linux_package.sh
index 332c281..6598936 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")