diff options
Diffstat (limited to 'backends.py')
-rw-r--r-- | backends.py | 2 |
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 |