Fix option initialization for win32 cross-compile. (#762)

pull/768/head
Elliott Sales de Andrade 8 years ago committed by Jussi Pakkanen
parent 165f8a913d
commit b6ee5725c2
  1. 4
      mesonbuild/interpreter.py

@ -1622,7 +1622,9 @@ class Interpreter():
if cross_comp is not None:
cross_comp.sanity_check(self.environment.get_scratch_dir(), self.environment)
self.coredata.cross_compilers[lang] = cross_comp
new_options = comp.get_options()
new_options = cross_comp.get_options()
else:
new_options = comp.get_options()
optprefix = lang + '_'
for i in new_options:
if not i.startswith(optprefix):

Loading…
Cancel
Save