ソースを参照

Merge pull request #3504 from pherl/3.4.x

Prefer system distributed binaries/libraries.
Jisi Liu 8 年 前
コミット
fdb5cd5e4b
1 ファイル変更3 行追加0 行削除
  1. 3 0
      python/release/wheel/protobuf_optimized_pip.sh

+ 3 - 0
python/release/wheel/protobuf_optimized_pip.sh

@@ -47,6 +47,9 @@ cd $DIR/protobuf-${PROTOBUF_VERSION}
 sed -i '/AC_PROG_OBJC/d' configure.ac
 sed -i '/AC_PROG_OBJC/d' configure.ac
 sed -i 's/conformance\/Makefile//g' configure.ac
 sed -i 's/conformance\/Makefile//g' configure.ac
 
 
+# Use the /usr/bin/autoconf and related tools to pick the correct aclocal macros
+export PATH="/usr/bin:$PATH"
+
 # Build protoc
 # Build protoc
 ./autogen.sh
 ./autogen.sh
 CXXFLAGS="-fPIC -g -O2" ./configure
 CXXFLAGS="-fPIC -g -O2" ./configure