diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-01-31 09:07:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-01-31 09:07:05 +0200 |
commit | a71590646f37b2696f857dd71a68b34e2f57d15c (patch) | |
tree | dd870234ee4c139aff400939df721fdf72708260 /libbuild2/cc/msvc.cxx | |
parent | 5a22b156fac945ed03503b12ebfda4cc9e80772d (diff) |
Tag installed library targets with linker path
This makes sure we get different targets for different toolchains.
Diffstat (limited to 'libbuild2/cc/msvc.cxx')
-rw-r--r-- | libbuild2/cc/msvc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/cc/msvc.cxx b/libbuild2/cc/msvc.cxx index 1bdd2bb..ce54964 100644 --- a/libbuild2/cc/msvc.cxx +++ b/libbuild2/cc/msvc.cxx @@ -426,7 +426,7 @@ namespace build2 // Enter the target. // T* t; - common::insert_library (p.scope->ctx, t, name, d, e, exist, trace); + common::insert_library (p.scope->ctx, t, name, d, ld, e, exist, trace); t->mtime (mt); t->path (move (f)); @@ -488,7 +488,7 @@ namespace build2 { ulock l ( insert_library ( - pk.scope->ctx, s, *pk.tk.name, d, nullopt, exist, trace)); + pk.scope->ctx, s, *pk.tk.name, d, ld, nullopt, exist, trace)); if (!exist) { |