Don't rebuild boost everytimes

This commit is contained in:
Matéo Duparc 2022-06-22 18:20:03 +02:00
parent e9f000353b
commit 412df2e7be
Signed by: hardcoresushi
GPG Key ID: AFE384344A45E13A

View File

@ -1,5 +1,10 @@
#!/bin/sh #!/bin/sh
if [ -d Boost-for-Android/build/out/$2 ]; then
echo "boost already built for $2";
exit 0
fi
BOOST_TAR=boost_1_76_0.tar.bz2 BOOST_TAR=boost_1_76_0.tar.bz2
cd Boost-for-Android || exit 1 cd Boost-for-Android || exit 1