gnome.generate_gir(): Also include current build dir

Continuation of 084b854ce0
pull/873/head
Patrick Griffis 8 years ago committed by Jussi Pakkanen
parent 4781f471c2
commit 94b7b59546
  1. 3
      mesonbuild/modules/gnome.py

@ -225,7 +225,8 @@ class GnomeModule:
extra_args = mesonlib.stringlistify(kwargs.pop('extra_args', [])) extra_args = mesonlib.stringlistify(kwargs.pop('extra_args', []))
scan_command += extra_args scan_command += extra_args
scan_command += ['-I' + os.path.join(state.environment.get_source_dir(), state.subdir)] scan_command += ['-I' + os.path.join(state.environment.get_source_dir(), state.subdir),
'-I' + os.path.join(state.environment.get_build_dir(), state.subdir)]
scan_command += self.get_include_args(state, girtarget.get_include_dirs()) scan_command += self.get_include_args(state, girtarget.get_include_dirs())
if 'link_with' in kwargs: if 'link_with' in kwargs:

Loading…
Cancel
Save