COMPILING.md: Update documentation to disable shared lib in compiling protobuf. (#5470)

This commit is contained in:
Chengyuan Zhang 2019-03-13 12:44:36 -07:00 committed by GitHub
parent e7a635d882
commit 60e988dc20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ $ git clone https://github.com/google/protobuf.git
$ cd protobuf
$ git checkout v3.7.0
$ ./autogen.sh
$ ./configure
$ ./configure --disable-shared
$ make
$ make check
$ sudo make install
@ -54,7 +54,7 @@ $ sudo make install
If you are comfortable with C++ compilation and autotools, you can specify a
``--prefix`` for Protobuf and use ``-I`` in ``CXXFLAGS``, ``-L`` in
``LDFLAGS``, ``LD_LIBRARY_PATH``, and ``PATH`` to reference it. The
``LDFLAGS`` to reference it. The
environment variables will be used when building grpc-java.
Protobuf installs to ``/usr/local`` by default.