mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
MXE: use libgit2 from MXE
MXE has had a new enough libgit2 for a while now. No reason anymore to build our own. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
450f654063
commit
f05d917a37
1 changed files with 1 additions and 17 deletions
|
@ -42,7 +42,6 @@
|
|||
# ~/src/mxe <- MXE git with Qt5, automake (see above)
|
||||
# /grantlee <- Grantlee 5.0.0 sources from git
|
||||
# /subsurface <- current subsurface git
|
||||
# /libgit2 <- libgit2 0.23.1 or similar
|
||||
# /googlemaps <- Google Maps plugin for QtLocation from git
|
||||
#
|
||||
# ~/src/win32 <- build directory
|
||||
|
@ -142,22 +141,6 @@ if [[ ! -d grantlee || -f build.grantlee ]] ; then
|
|||
make install
|
||||
fi
|
||||
|
||||
# libgit2:
|
||||
|
||||
cd "$BUILDDIR"
|
||||
if [[ ! -d libgit2 || -f build.libgit2 ]] ; then
|
||||
rm -f build.libgit2
|
||||
mkdir -p libgit2
|
||||
cd libgit2
|
||||
i686-w64-mingw32.shared-cmake \
|
||||
-DBUILD_CLAR=OFF -DTHREADSAFE=ON \
|
||||
-DCMAKE_BUILD_TYPE=$RELEASE \
|
||||
-DDLLTOOL="$BASEDIR"/"$MXEDIR"/usr/bin/i686-w64-mingw32.shared-dlltool \
|
||||
"$BASEDIR"/libgit2
|
||||
make $JOBS
|
||||
make install
|
||||
fi
|
||||
|
||||
# libdivecomputer
|
||||
# ensure the git submodule is present and the autotools are set up
|
||||
|
||||
|
@ -286,6 +269,7 @@ i686-w64-mingw32.shared-cmake \
|
|||
-DLIBDIVECOMPUTER_LIBRARIES="$BASEDIR"/"$MXEDIR"/usr/i686-w64-mingw32.shared/lib/libdivecomputer.dll.a \
|
||||
-DMAKE_TESTS=OFF \
|
||||
-DBTSUPPORT=ON -DBLESUPPORT=ON \
|
||||
-DLIBGIT2_FROM_PKGCONFIG=ON \
|
||||
"$BASEDIR"/subsurface
|
||||
|
||||
make $JOBS "$@"
|
||||
|
|
Loading…
Reference in a new issue