diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-01-30 11:06:22 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-01-30 11:06:22 +0200 |
commit | f6319b258bb478e19d4a17852a8406e6b1119b87 (patch) | |
tree | 69035ffe5280b76b1eeb948fe115faec4ed6da5e /libbuild2/cc/link-rule.cxx | |
parent | b7beffa3db7103f5b800dd2ee004fe62bb577cd8 (diff) |
Rework include translation support
See the config.cxx.translate_include variable documentation in cxx/init.cxx
for details.
Diffstat (limited to 'libbuild2/cc/link-rule.cxx')
-rw-r--r-- | libbuild2/cc/link-rule.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx index f500389..9b75e8d 100644 --- a/libbuild2/cc/link-rule.cxx +++ b/libbuild2/cc/link-rule.cxx @@ -858,7 +858,7 @@ namespace build2 // else { - if (!p.is_a<objx> () && !p.is_a<bmix> ()) + if (!p.is_a<objx> () && !p.is_a<bmix> () && !x_header (p, true)) { // @@ Temporary hack until we get the default outer operation // for update. This allows operations like test and install to |