Fixed using files object in subdir with xcode backend

Fixes bug #589. When generating string from file object, it didn't take subdir
into account.
pull/7791/head
Oskar Sigvardsson 5 years ago committed by Daniel Mensinger
parent 1dfaccfd91
commit 1d443f1bc6
  1. 2
      mesonbuild/backend/xcodebackend.py

@ -264,7 +264,7 @@ class XCodeBackend(backends.Backend):
for s in t.sources:
if isinstance(s, mesonlib.File):
s = s.fname
s = os.path.join(s.subdir, s.fname)
if isinstance(s, str):
s = os.path.join(t.subdir, s)

Loading…
Cancel
Save