This commit is contained in:
resec 2017-05-16 10:50:39 +08:00 коммит произвёл GitHub
Родитель 62498ab36c
Коммит 8cbc7fccc6
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -84,9 +84,9 @@ On OSX, you can use brew:
``` ```
% brew install protobuf autoconf automake libtool % brew install protobuf autoconf automake libtool
``` ```
Use your prepared protobuf library:
If want to use self-prepared protobuf library, setup below environment variables before build:
``` ```
Setup below environment variables before build
% export PROTOBUF=<path_to_protobuf> % export PROTOBUF=<path_to_protobuf>
% export PROTOC="$PROTOBUF/bin/protoc" % export PROTOC="$PROTOBUF/bin/protoc"
% export PROTOBUF_LIBS="-L$PROTOBUF/lib -lprotobuf -D_THREAD_SAFE" % export PROTOBUF_LIBS="-L$PROTOBUF/lib -lprotobuf -D_THREAD_SAFE"