aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/link-rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-01-30 11:06:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-01-30 11:06:22 +0200
commitf6319b258bb478e19d4a17852a8406e6b1119b87 (patch)
tree69035ffe5280b76b1eeb948fe115faec4ed6da5e /libbuild2/cc/link-rule.cxx
parentb7beffa3db7103f5b800dd2ee004fe62bb577cd8 (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.cxx2
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