aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-02-22 15:28:26 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-02-22 15:28:26 +0200
commit651e97456b24524a73070c6ea1c9c2696c02bd53 (patch)
tree8d8a14e8f35f79ca1480b14ab75e631632e52d56 /tools
parentb836ac29dd212f173b0607c826d23b3e3da3d61a (diff)
Include libprotobuf in linux binary package.
Previously this got included by bbfreeze, but apparently no more. Update issue 146 Status: FixedInGit
Diffstat (limited to 'tools')
-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 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")