From a4f43678778b0070e43c9d591f521beff4620b93 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 24 Jan 2013 00:18:09 +0000 Subject: [PATCH] build: do not launch weird Windows binaries when cross-compiling. --- build/lol-build | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build/lol-build b/build/lol-build index 7a12fa5a..771e772a 100755 --- a/build/lol-build +++ b/build/lol-build @@ -84,6 +84,14 @@ __init__() M4PATH="$M4PATH:./external/gtk-2.22.1/share/aclocal" ;; esac + + # Ensure we don’t launch weird Windows binaries when cross-compiling + case "${platform}" in + win*) + WINEDLLOVERRIDES="winemenubuilder.exe=d;wineboot.exe=d" + export WINEDLLOVERRIDES + ;; + esac } bootstrap()