From a71590646f37b2696f857dd71a68b34e2f57d15c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 31 Jan 2020 09:07:05 +0200 Subject: Tag installed library targets with linker path This makes sure we get different targets for different toolchains. --- libbuild2/cc/msvc.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/cc/msvc.cxx') 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) { -- cgit v1.1