aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/build/script')
-rw-r--r--libbuild2/build/script/parser.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/build/script/parser.cxx b/libbuild2/build/script/parser.cxx
index bb9ff66..2298780 100644
--- a/libbuild2/build/script/parser.cxx
+++ b/libbuild2/build/script/parser.cxx
@@ -1147,6 +1147,8 @@ namespace build2
{
if (!qs)
{
+ // This could be a script from src so search like a prerequisite.
+ //
if (const target* t = search_existing (
ns[0], *scope_, ns[0].pair ? ns[1].dir : empty_dir_path))
{