installdeps: fix build instructions for mxe

Change cmake executable prefix from `x86-64` to the correct `x86_64` for
the 64 bit architecture.
This commit is contained in:
Rafael Kitover 2018-06-27 01:49:26 +00:00
parent 816aab9939
commit 90188e8875
1 changed files with 2 additions and 2 deletions

View File

@ -283,17 +283,17 @@ debian_installdeps() {
case "$target" in case "$target" in
mingw-w64-i686) mingw-w64-i686)
target='i686-w64-mingw32.static' target='i686-w64-mingw32.static'
CMAKE="/usr/lib/mxe/usr/bin/i686-w64-mingw32.static-cmake"
;; ;;
mingw-w64-x86_64) mingw-w64-x86_64)
target='x86-64-w64-mingw32.static' target='x86-64-w64-mingw32.static'
CMAKE="/usr/lib/mxe/usr/bin/x86_64-w64-mingw32.static-cmake"
;; ;;
*) *)
error "unknown cross target (you shouldn't see this)" error "unknown cross target (you shouldn't see this)"
;; ;;
esac esac
CMAKE="/usr/lib/mxe/usr/bin/${target}-cmake"
mxe_apt_sources='/etc/apt/sources.list.d/mxeapt.list' mxe_apt_sources='/etc/apt/sources.list.d/mxeapt.list'
sudo apt-get -qq update sudo apt-get -qq update