From 2a0f9e035f673f1ee387924501a31990de37f18d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 24 Apr 2015 12:29:20 +0200 Subject: Implement lib/liba/libso{} target group, shared/static library build --- build/search.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build/search.cxx') diff --git a/build/search.cxx b/build/search.cxx index 7fa9720..b1d5ec6 100644 --- a/build/search.cxx +++ b/build/search.cxx @@ -100,7 +100,9 @@ namespace build level4 ([&]{trace << (r.second ? "new" : "existing") << " target " << t << " for prerequsite " << pk;}); - t.path (move (f)); + if (t.path ().empty ()) + t.path (move (f)); + t.mtime (mt); return &t; } -- cgit v1.1