From ad4120afce8c7bc4001fc0173a0ff7611ec0198d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 12 Dec 2015 13:46:07 +0200 Subject: Implement installation of prerequisite shared libraries --- build/prerequisite.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build/prerequisite.cxx') diff --git a/build/prerequisite.cxx b/build/prerequisite.cxx index 89ac275..49cab89 100644 --- a/build/prerequisite.cxx +++ b/build/prerequisite.cxx @@ -20,9 +20,9 @@ namespace build ostream& operator<< (ostream& os, const prerequisite_key& pk) { - if (*pk.proj != nullptr) - os << **pk.proj << '%'; - // + if (pk.proj != nullptr) + os << *pk.proj << '%'; + // Don't print scope if we are project-qualified or the // prerequisite's directory is absolute. In both these // cases the scope is not used to resolve it to target. -- cgit v1.1