Update rtestint problem 237 to match the actual result.
[maxima.git] / crosscompile-windows / wine-sbcl.sh.tmpl
blobff85633700243d5af236536aa69c4ab93bfe7b8e
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0-or-later
3 WINEPREFIX=@CMAKE_BINARY_DIR@/wine
4 export WINEPREFIX
5 # do not install (and pop up a window) for Mono and Gecko - not needed.
6 WINEDLLOVERRIDES="mscoree,mshtml="
7 export WINEDLLOVERRIDES
8 # drive Z: is mapped to the root of the unix filesystem when using wine.
9 SBCL_HOME=Z:@CMAKE_BINARY_DIR@/sbcl/
10 export SBCL_HOME
11 unset DISPLAY
12 if [ "$1" = "--core" ]; then
13 @WINE_EXE@ @CMAKE_BINARY_DIR@/sbcl/sbcl.exe "$@"
14 else
15 @WINE_EXE@ @CMAKE_BINARY_DIR@/sbcl/sbcl.exe --core @CMAKE_BINARY_DIR@/sbcl/sbcl.core "$@"