From 9637eb583a4e2bc028b93d5b8f5ceb981402554d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 6 Oct 2021 08:49:56 +0200 Subject: Do not install exe{} prerequisites of file targets --- libbuild2/install/rule.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbuild2/install/rule.cxx') diff --git a/libbuild2/install/rule.cxx b/libbuild2/install/rule.cxx index d678940..3543286 100644 --- a/libbuild2/install/rule.cxx +++ b/libbuild2/install/rule.cxx @@ -288,6 +288,9 @@ namespace build2 filter (const scope* is, action, const target& t, const prerequisite& p) const { + if (p.is_a ()) + return nullptr; + const target& pt (search (t, p)); return is == nullptr || pt.in (*is) ? &pt : nullptr; } -- cgit v1.1