aboutsummaryrefslogtreecommitdiff
path: root/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-09-20 19:22:02 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-09-20 19:22:02 +0300
commitd17083605196423a2adcdbb3723478084ad892ea (patch)
tree4c178dacc874b6e42bbff8f1e66bb875c547a984 /backends.py
parentc6a3a1f56a5573b121b5e8a7473e1242325c5962 (diff)
downloadmeson-d17083605196423a2adcdbb3723478084ad892ea.zip
meson-d17083605196423a2adcdbb3723478084ad892ea.tar.gz
meson-d17083605196423a2adcdbb3723478084ad892ea.tar.bz2
Windows fix.
Diffstat (limited to 'backends.py')
-rw-r--r--backends.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/backends.py b/backends.py
index 0fc8646..f13b3c7 100644
--- a/backends.py
+++ b/backends.py
@@ -257,14 +257,13 @@ class Backend():
links to and return them so they can be used in unit
tests.'''
if not isinstance(target, build.Executable):
- print(target)
return []
prospectives = target.get_transitive_link_deps()
result = []
for ld in prospectives:
if ld == '' or ld == '.':
continue
- dirseg = os.path.join(self.environment.get_build_dir(), self.get_target_dir())
+ dirseg = os.path.join(self.environment.get_build_dir(), self.get_target_dir(ld))
if dirseg not in result:
result.append(dirseg)
return result