Code Review
/
apps
/
low-level-can-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
8be8b7e
)
Include libprotoc
author
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Sun, 17 Nov 2013 20:33:26 +0000
(22:33 +0200)
committer
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Sun, 29 Dec 2013 18:26:58 +0000
(20:26 +0200)
tools/make_linux_package.sh
patch
|
blob
|
history
diff --git
a/tools/make_linux_package.sh
b/tools/make_linux_package.sh
index
0c8e826
..
c48a807
100755
(executable)
--- a/
tools/make_linux_package.sh
+++ b/
tools/make_linux_package.sh
@@
-24,6
+24,8
@@
mv $DEST/generator/dist $DEST/generator-bin
# Package the protoc compiler
cp `which protoc` $DEST/generator-bin/protoc.bin
+LIBPROTOC=$(ldd `which protoc` | grep -o '/.*libprotoc[^ ]*')
+cp $LIBPROTOC $DEST/generator-bin/
cat > $DEST/generator-bin/protoc << EOF
#!/bin/bash
SCRIPTDIR=\$(dirname \$(readlink -f \$0))