diff --git a/thirdparty/protobuf/HPKBUILD b/thirdparty/protobuf/HPKBUILD index adcc01be80bdeba8730dc6a334eacc708fe62858..1c388935f7859962f83b1195d6bbb79eedb294d7 100644 --- a/thirdparty/protobuf/HPKBUILD +++ b/thirdparty/protobuf/HPKBUILD @@ -23,10 +23,10 @@ prepare() { then cp -rf $builddir $builddir-host-build cd $builddir-host-build - cp $LYCIUM_ROOT/../thirdparty/abseil-cpp/abseil-cpp*.tar.gz `pwd`/third_party/abseil-cpp/ - tar -zxf `pwd`/third_party/abseil-cpp/abseil-cpp*.tar.gz -C `pwd`/third_party/abseil-cpp + cp $LYCIUM_ROOT/../thirdparty/abseil-cpp/abseil-cpp*.zip `pwd`/third_party/abseil-cpp/ + unzip `pwd`/third_party/abseil-cpp/abseil-cpp*.zip -d `pwd`/third_party/abseil-cpp > /dev/null 2>&1 mv `pwd`/third_party/abseil-cpp/abseil-cpp-*/* `pwd`/third_party/abseil-cpp/ - rm `pwd`/third_party/abseil-cpp/abseil-cpp*.tar.gz + rm `pwd`/third_party/abseil-cpp/abseil-cpp*.zip cmake . -L -Dprotobuf_BUILD_TESTS=OFF > `pwd`/build.log 2>&1 make VERBOSE=1 -j4 >> `pwd`/build.log 2>&1 buildhostprotoc=false