Better scripts/build.*.sh compatibility.

This commit is contained in:
XMRig 2020-08-23 15:46:56 +07:00
parent 879e160ba3
commit 4b682b6633
No known key found for this signature in database
GPG key ID: 446A53638BE94409
8 changed files with 33 additions and 10 deletions

View file

@ -14,7 +14,7 @@ tar -xzf v${UV_VERSION}.tar.gz
cd libuv-${UV_VERSION}
sh autogen.sh
./configure --disable-shared
make -j$(nproc)
cp -fr include/ ../../deps
make -j$(nproc || sysctl -n hw.ncpu || sysctl -n hw.logicalcpu)
cp -fr include ../../deps
cp .libs/libuv.a ../../deps/lib
cd ..