mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
ios: remove googlemaps unecessary multiple builds
googlemaps archive is a fat file already, containing armv7, arm64 and x86-64, so no need to build it multiple times. Signed-off-by: Murillo Bernardes <mfbernardes@gmail.com>
This commit is contained in:
parent
07366daea5
commit
882120ba65
1 changed files with 10 additions and 10 deletions
|
@ -294,18 +294,18 @@ echo next building for $ARCH
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# build googlemaps
|
|
||||||
if [ ! -d googlemaps ] ; then
|
|
||||||
git clone git://github.com/subsurface-divelog/googlemaps
|
|
||||||
fi
|
|
||||||
mkdir -p googlemaps-build-$ARCH
|
|
||||||
pushd googlemaps-build-$ARCH
|
|
||||||
${IOS_QT}/${QT_VERSION}/ios/bin/qmake ../googlemaps/googlemaps.pro
|
|
||||||
make
|
|
||||||
make install
|
|
||||||
popd
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# build googlemaps
|
||||||
|
if [ ! -d googlemaps ] ; then
|
||||||
|
git clone git://github.com/subsurface-divelog/googlemaps
|
||||||
|
fi
|
||||||
|
mkdir -p googlemaps-build
|
||||||
|
pushd googlemaps-build
|
||||||
|
${IOS_QT}/${QT_VERSION}/ios/bin/qmake ../googlemaps/googlemaps.pro CONFIG+=release
|
||||||
|
make
|
||||||
|
popd
|
||||||
|
|
||||||
# now combine the arm libraries into fat libraries
|
# now combine the arm libraries into fat libraries
|
||||||
rm -rf install-root
|
rm -rf install-root
|
||||||
cp -a install-root-arm64 install-root
|
cp -a install-root-arm64 install-root
|
||||||
|
|
Loading…
Add table
Reference in a new issue