summaryrefslogtreecommitdiffhomepage
path: root/cmake/toolchains
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-02-20 23:48:05 +0100
committerAki <please@ignore.pl>2024-02-21 00:01:13 +0100
commit3696b0e54454d7409a67bacc24da1e0e830676ab (patch)
treebee2b40182effb7df360e86f3c79d2272ee0bb8c /cmake/toolchains
parentb7e2272d57c72a13186489ec14a96f177e4e3a6d (diff)
downloadstarshatter-3696b0e54454d7409a67bacc24da1e0e830676ab.zip
starshatter-3696b0e54454d7409a67bacc24da1e0e830676ab.tar.gz
starshatter-3696b0e54454d7409a67bacc24da1e0e830676ab.tar.bz2
Fixed CMAKE_CROSSCOMPILING_EMULATOR; wine should work more consistently now
Diffstat (limited to 'cmake/toolchains')
-rwxr-xr-xcmake/toolchains/i686-w64-mingw32-wine2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/toolchains/i686-w64-mingw32-wine b/cmake/toolchains/i686-w64-mingw32-wine
index 65b4aad..6f67c68 100755
--- a/cmake/toolchains/i686-w64-mingw32-wine
+++ b/cmake/toolchains/i686-w64-mingw32-wine
@@ -2,6 +2,6 @@
toolchain=i686-w64-mingw32
prefix=/usr/$toolchain
export WINEPREFIX=$HOME/.wine-$toolchain
-export WINEPATH=$prefix/bin
+export WINEPATH="${WINEPATH:+${WINEPATH};}$prefix/bin"
export WINEARCH=win32
exec /usr/bin/wine "$@"