MacOSX/build-package: fix build for make multi jobs

If --jobs=... argument is used for make (or the equivalent MAKEFLAGS is
defined) then the command "make clean update depend" fails because the 3
actions must be done in sequence and not in parallel.
This commit is contained in:
Ludovic Rousseau 2016-10-14 14:12:15 +02:00
parent a3bf2efd53
commit b1aa79058a
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@ if ! pkg-config libcrypto --atleast-version=1.0.1; then
fi
cd openssl
KERNEL_BITS=64 ./config --prefix=$PREFIX -mmacosx-version-min=10.10
make clean update depend
make clean
make update
make depend
make
make INSTALL_PREFIX=$BUILDPATH/openssl_bin install_sw
cd ..