aboutsummaryrefslogtreecommitdiff
path: root/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-09-03 22:43:02 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-09-03 22:43:02 +0300
commit0131555e28c2e6bb647dce9911b1b69ba88eeeaa (patch)
tree6db5a3bcb2a57e700e4119571b62575b67038c3f /backends.py
parent0b0d787624523ef3ab349bd059c5c50dabd1702a (diff)
downloadmeson-0131555e28c2e6bb647dce9911b1b69ba88eeeaa.zip
meson-0131555e28c2e6bb647dce9911b1b69ba88eeeaa.tar.gz
meson-0131555e28c2e6bb647dce9911b1b69ba88eeeaa.tar.bz2
Fix all tests except gir, which requires some new functionality.
Diffstat (limited to 'backends.py')
-rw-r--r--backends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends.py b/backends.py
index 11b0e1d..f99a271 100644
--- a/backends.py
+++ b/backends.py
@@ -227,7 +227,7 @@ class Backend():
# Fortran rquires extra include directives.
if compiler.language == 'fortran':
for lt in target.link_targets:
- priv_dir = os.path.join(lt.subdir, lt.get_basename() + lt.type_suffix())
+ priv_dir = os.path.join(self.get_target_dir(lt), lt.get_basename() + lt.type_suffix())
incflag = compiler.get_include_args(priv_dir)
commands += incflag
return commands