aboutsummaryrefslogtreecommitdiff
path: root/xcodebackend.py
diff options
context:
space:
mode:
Diffstat (limited to 'xcodebackend.py')
-rw-r--r--xcodebackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xcodebackend.py b/xcodebackend.py
index d1bd8aa..199b366 100644
--- a/xcodebackend.py
+++ b/xcodebackend.py
@@ -598,7 +598,7 @@ class XCodeBackend(backends.Backend):
headerdirs.append(os.path.join(self.environment.get_build_dir(), cd))
for l in target.link_targets:
abs_path = os.path.join(self.environment.get_build_dir(),
- buildtype, l.get_filename())
+ l.subdir, buildtype, l.get_osx_filename())
dep_libs.append("'%s'" % abs_path)
if isinstance(l, build.SharedLibrary):
links_dylib = True