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.
This commit is contained in:
parent
1dfaccfd91
commit
1d443f1bc6
|
@ -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…
Reference in New Issue