vala: Use a portable path join for the VAPI

pull/912/head
Guillaume Poirier-Morency 8 years ago
parent 114b5b0637
commit 66518d4dad
  1. 2
      mesonbuild/backend/ninjabackend.py

@ -999,7 +999,7 @@ int dummy;
vapiname = os.path.join(self.get_target_dir(target), target.vala_vapi)
# Force valac to write the vapi file in the target build dir.
# Without this, it will write it inside c_out_dir
args += ['--vapi=../' + target.vala_vapi]
args += ['--vapi', os.path.join('..', target.vala_vapi)]
valac_outputs.append(vapiname)
if self.environment.coredata.get_builtin_option('werror'):
args += valac.get_werror_args()

Loading…
Cancel
Save