diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-10-28 10:55:02 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-30 12:24:36 -0700 |
commit | e9073a7570f490ad169dbd92a7d6f102c423c2ca (patch) | |
tree | 4c8b4ba00449ea030d04c8683821b7162fa09a42 /packaging/windows/create-win-installer.sh | |
parent | cdf1865246563fde47a1cf2a5fc3c0fd70b8e5ba (diff) | |
download | subsurface-e9073a7570f490ad169dbd92a7d6f102c423c2ca.tar.gz |
build-system: first steps towards a 64bit Windows build
This is barely scratching the surface (no put intended), and of course the
container needs to be updated, first, to have a 64bit version of MXE installed,
but this seems to help make libmtp build correctly.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/windows/create-win-installer.sh')
-rw-r--r-- | packaging/windows/create-win-installer.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/packaging/windows/create-win-installer.sh b/packaging/windows/create-win-installer.sh index e5e5c946e..f8d95f156 100644 --- a/packaging/windows/create-win-installer.sh +++ b/packaging/windows/create-win-installer.sh @@ -9,15 +9,16 @@ cd /__w bash subsurface/.github/workflows/scripts/windows-container-prep.sh # remove artifact from prior builds -rm mdbtools/include/mdbver.h +rm -f mdbtools/include/mdbver.h # build the installer -rm -rf win32 -mkdir win32 -cd win32 +rm -rf win64 +mkdir win64 +cd win64 # build Subsurface and then smtk2ssrf -export MXEBUILDTYPE=i686-w64-mingw32.shared +export MXEBUILDTYPE=x86_64-w64-mingw32.shared +export PATH=/win/mxe/usr/bin:$PATH bash -ex ../subsurface/packaging/windows/mxe-based-build.sh installer mv subsurface/subsurface-*.exe /__w |