Include libprotobuf in linux binary package.
Previously this got included by bbfreeze, but apparently no more. Update issue 146 Status: FixedInGit
This commit is contained in:
@@ -31,7 +31,8 @@ rm $DEST/generator/protoc-gen-nanopb.py
|
|||||||
# Package the protoc compiler
|
# Package the protoc compiler
|
||||||
cp `which protoc` $DEST/generator-bin/protoc.bin
|
cp `which protoc` $DEST/generator-bin/protoc.bin
|
||||||
LIBPROTOC=$(ldd `which protoc` | grep -o '/.*libprotoc[^ ]*')
|
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
|
cat > $DEST/generator-bin/protoc << EOF
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
SCRIPTDIR=\$(dirname "\$0")
|
SCRIPTDIR=\$(dirname "\$0")
|
||||||
|
|||||||
Reference in New Issue
Block a user