Skip to content

Commit

Permalink
installdeps: fix build instructions for mxe
Browse files Browse the repository at this point in the history
Change cmake executable prefix from `x86-64` to the correct `x86_64` for
the 64 bit architecture.
  • Loading branch information
rkitover committed Jun 27, 2018
1 parent 816aab9 commit 90188e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installdeps
Expand Up @@ -283,17 +283,17 @@ debian_installdeps() {
case "$target" in
mingw-w64-i686)
target='i686-w64-mingw32.static'
CMAKE="/usr/lib/mxe/usr/bin/i686-w64-mingw32.static-cmake"
;;
mingw-w64-x86_64)
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)"
;;
esac

CMAKE="/usr/lib/mxe/usr/bin/${target}-cmake"

mxe_apt_sources='/etc/apt/sources.list.d/mxeapt.list'

sudo apt-get -qq update
Expand Down

0 comments on commit 90188e8

Please sign in to comment.