diff options
author | Kun Zhang <zhangkun@google.com> | 2016-05-11 16:18:26 -0700 |
---|---|---|
committer | Kun Zhang <zhangkun@google.com> | 2016-05-11 16:18:26 -0700 |
commit | 28cb77f39e6c1401a37b31edd6c860de8171a8f0 (patch) | |
tree | fee2b93e2ea4abb6ceb6188b5dbe357cb94e2e30 /protoc-artifacts/build-protoc.sh | |
parent | 920ee735cfab0203292a3d3ff0065a0db4e9588f (diff) | |
download | protobuf-28cb77f39e6c1401a37b31edd6c860de8171a8f0.tar.gz protobuf-28cb77f39e6c1401a37b31edd6c860de8171a8f0.tar.bz2 protobuf-28cb77f39e6c1401a37b31edd6c860de8171a8f0.zip |
Fine-tune build scripts and better documentation.
"make google/protobuf/stubs/pbconfig.h" was added in hope of addressing
the issue that when you "make protoc" from a freshly checked out
project, pbconfig.h will be reported missing. However, the trick doesn't
seem to work. Instead, add instructions in the document to work the issue
around.
Also document why MSYS2 cannot be used for publishing protoc.
Diffstat (limited to 'protoc-artifacts/build-protoc.sh')
-rwxr-xr-x | protoc-artifacts/build-protoc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protoc-artifacts/build-protoc.sh b/protoc-artifacts/build-protoc.sh index 2f67c508..88e6ae50 100755 --- a/protoc-artifacts/build-protoc.sh +++ b/protoc-artifacts/build-protoc.sh @@ -212,7 +212,7 @@ export CXXFLAGS LDFLAGS TARGET_FILE=target/protoc.exe cd "$WORKING_DIR"/.. && ./configure $CONFIGURE_ARGS && - cd src && make clean && make google/protobuf/stubs/pbconfig.h $MAKE_TARGET && + cd src && make clean && make $MAKE_TARGET && cd "$WORKING_DIR" && mkdir -p target && (cp ../src/protoc $TARGET_FILE || cp ../src/protoc.exe $TARGET_FILE) || exit 1 |