diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-26 12:28:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-26 12:28:05 +0200 |
commit | d1fbcace59846d55c66e741dbc3d59e20ae3e5cf (patch) | |
tree | af1325d7d519bda64535f602c8ea1a3147b97b31 /build2/cc/common.cxx | |
parent | dc3d7c5fa4062cac36d718766504c87696a3de41 (diff) |
Fix C/C++ link rule matching ambiguity by seeing-through utility libraries
Diffstat (limited to 'build2/cc/common.cxx')
-rw-r--r-- | build2/cc/common.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/common.cxx b/build2/cc/common.cxx index b4b0a6d..fa774d7 100644 --- a/build2/cc/common.cxx +++ b/build2/cc/common.cxx @@ -485,7 +485,7 @@ namespace build2 // If this is lib{}/libu*{}, pick appropriate member. // if (const libx* l = xt->is_a<libx> ()) - xt = &link_member (*l, a, li); // Pick lib*{e,a,s}{}. + xt = link_member (*l, a, li); // Pick lib*{e,a,s}{}. return xt->as<file> (); } |