From 185afee482b707a49c445a5d001dd20c31f1aa75 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 24 Oct 2023 09:56:22 +0200 Subject: Undo "Don't install static library prerequisites of executable" This turned out not to be always correct since a static library can have prerequisites that it requires at runtime (see the libca-certificates-curl for an example). The new plan is to split static/shared library installation into run-time and build-time parts using the new match options mechanism. --- libbuild2/cc/install-rule.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libbuild2/cc/install-rule.hxx') diff --git a/libbuild2/cc/install-rule.hxx b/libbuild2/cc/install-rule.hxx index 5039309..6998d63 100644 --- a/libbuild2/cc/install-rule.hxx +++ b/libbuild2/cc/install-rule.hxx @@ -24,8 +24,7 @@ namespace build2 // // 1. Signal to the link rule that this is update for install. // - // 2. Custom filtering of prerequisites (e.g., headers and static - // libraries of an exe{}). + // 2. Custom filtering of prerequisites (e.g., headers of an exe{}). // // 3. Extra un/installation (e.g., libs{} symlinks). // -- cgit v1.1