From 4177d70e63893d0a2c76beb9166ebbf79c4697a0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 26 Aug 2019 15:38:23 +0200 Subject: Add support for for_install prerequisite-specific var in link rule Also reserve for_test. --- libbuild2/install/init.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'libbuild2/install') diff --git a/libbuild2/install/init.cxx b/libbuild2/install/init.cxx index d2321b5..445f2b1 100644 --- a/libbuild2/install/init.cxx +++ b/libbuild2/install/init.cxx @@ -209,6 +209,7 @@ namespace build2 // the trailing directory separator. // vp.insert ("install", variable_visibility::target); + vp.insert ("for_install", variable_visibility::prereq); vp.insert ("install.mode", variable_visibility::project); vp.insert ("install.subdirs", variable_visibility::project); } -- cgit v1.1