Some more cross tweaking.

pull/68/merge
Jussi Pakkanen 10 years ago
parent 572587f5ce
commit 8be84a4a7c
  1. 2
      cross/ubuntu-mingw.txt
  2. 2
      meson_test.py

@ -1,7 +1,7 @@
name = 'windows'
exe_wrapper = 'wine' # A command used to run generated executables.
c = '/usr/bin/i686-w64-mingw32-gcc'
cpp = '/usr/bin/i686-w64-mingw32-gcc'
cpp = '/usr/bin/i686-w64-mingw32-g++'
ar = '/usr/bin/i686-w64-mingw32-ar'
strip = '/usr/bin/i686-w64-mingw32-strip'

@ -70,7 +70,7 @@ def run_single_test(wrap, test):
global tests_failed
if test.fname[0].endswith('.jar'):
cmd = ['java', '-jar'] + test.fname
elif run_with_mono(test.fname[0]):
elif not test.is_cross and run_with_mono(test.fname[0]):
cmd = ['mono'] + test.fname
else:
if test.is_cross:

Loading…
Cancel
Save