aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/release/wheel/protobuf_optimized_pip.sh
diff options
context:
space:
mode:
Diffstat (limited to 'python/release/wheel/protobuf_optimized_pip.sh')
-rwxr-xr-xpython/release/wheel/protobuf_optimized_pip.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/release/wheel/protobuf_optimized_pip.sh b/python/release/wheel/protobuf_optimized_pip.sh
index 469661aa..064d1d2a 100755
--- a/python/release/wheel/protobuf_optimized_pip.sh
+++ b/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 '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
./autogen.sh
CXXFLAGS="-fPIC -g -O2" ./configure