summaryrefslogtreecommitdiffhomepage
path: root/cmake/toolchains/i686-w64-mingw32-wine
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/toolchains/i686-w64-mingw32-wine')
-rwxr-xr-xcmake/toolchains/i686-w64-mingw32-wine7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/toolchains/i686-w64-mingw32-wine b/cmake/toolchains/i686-w64-mingw32-wine
new file mode 100755
index 0000000..65b4aad
--- /dev/null
+++ b/cmake/toolchains/i686-w64-mingw32-wine
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+toolchain=i686-w64-mingw32
+prefix=/usr/$toolchain
+export WINEPREFIX=$HOME/.wine-$toolchain
+export WINEPATH=$prefix/bin
+export WINEARCH=win32
+exec /usr/bin/wine "$@"