ninjabackend: Correctly reference custom_target outputs in subdirs with rust

This was missed in the last iteration of fixing things.
pull/8236/head
Dylan Baker 4 years ago
parent 27ca7ed67a
commit 4550cf9500
  1. 2
      mesonbuild/backend/ninjabackend.py

@ -1598,7 +1598,7 @@ int dummy;
if isinstance(g, GeneratedList):
fname = os.path.join(self.get_target_private_dir(target), i)
else:
fname = i
fname = os.path.join(g.get_subdir(), i)
if main_rust_file is None:
main_rust_file = fname
orderdeps.append(fname)

Loading…
Cancel
Save