Lines Matching refs:protoc
30 # Make the nanopb generator available as a protoc plugin
31 cp $DEST/generator-bin/nanopb_generator $DEST/generator-bin/protoc-gen-nanopb
33 # Package the protoc compiler
34 cp `which protoc` $DEST/generator-bin/protoc.bin
35 LIBPROTOC=$(otool -L `which protoc` | grep -o '/.*libprotoc[^ ]*')
36 LIBPROTOBUF=$(otool -L `which protoc` | grep -o '/.*libprotobuf[^ ]*')
38 cat > $DEST/generator-bin/protoc << EOF
43 exec "\$SCRIPTDIR/protoc.bin" "\$@"
45 chmod +x $DEST/generator-bin/protoc