From 0131555e28c2e6bb647dce9911b1b69ba88eeeaa Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Thu, 3 Sep 2015 22:43:02 +0300 Subject: Fix all tests except gir, which requires some new functionality. --- backends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends.py') diff --git a/backends.py b/backends.py index 11b0e1de5..f99a271c0 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 -- cgit v1.2.3