aboutsummaryrefslogtreecommitdiff
path: root/build2/target.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/target.cxx')
-rw-r--r--build2/target.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/target.cxx b/build2/target.cxx
index d81ccd5..64ab412 100644
--- a/build2/target.cxx
+++ b/build2/target.cxx
@@ -640,7 +640,7 @@ namespace build2
// Then look for an existing file in the src tree.
//
- return pk.tk.dir->relative () ? search_existing_file (pk) : nullptr;
+ return search_existing_file (pk);
}
optional<string>