зеркало из https://github.com/github/vitess-gh.git
OSX - protobuf needs to be built in version 3.0.0-beta-2
This commit is contained in:
Родитель
d95479396d
Коммит
1ad75ce7b0
|
@ -11,9 +11,16 @@ if [ "$protobuf_dist" != "" ]; then
|
|||
cd $protobuf_dist
|
||||
fi
|
||||
|
||||
wget https://github.com/google/protobuf/archive/v3.0.0-beta-1.tar.gz
|
||||
tar -xvzf v3.0.0-beta-1.tar.gz
|
||||
cd protobuf-3.0.0-beta-1
|
||||
protobuf_beta_version=1
|
||||
|
||||
if [ `uname -s` == "Darwin" ]; then
|
||||
protobuf_beta_version=2
|
||||
fi
|
||||
|
||||
wget https://github.com/google/protobuf/archive/v3.0.0-beta-$protobuf_beta_version.tar.gz
|
||||
tar -xvzf v3.0.0-beta-$protobuf_beta_version.tar.gz
|
||||
cd protobuf-3.0.0-beta-$protobuf_beta_version
|
||||
|
||||
./autogen.sh
|
||||
if [ "$protobuf_dist" != "" ]; then
|
||||
./configure --prefix=$protobuf_dist
|
||||
|
|
Загрузка…
Ссылка в новой задаче