From d33558b7335a469942e204f73de6faed81f8041f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 15 Aug 2019 09:57:42 +0200 Subject: Add support for bin.lib.load_suffix This allow the creation of yet another symlink to the shared library that is meant to be used for dynamic loading. For example, we may want to embed the main program interface number into its plugins to make sure that we only load compatible versions. --- build2/bin/init.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'build2/bin') diff --git a/build2/bin/init.cxx b/build2/bin/init.cxx index e9063fc..b46d643 100644 --- a/build2/bin/init.cxx +++ b/build2/bin/init.cxx @@ -118,10 +118,13 @@ namespace build2 // vp.insert ("bin.whole", false, variable_visibility::target); - vp.insert ("bin.lib.prefix"); - vp.insert ("bin.lib.suffix"); vp.insert ("bin.exe.prefix"); vp.insert ("bin.exe.suffix"); + vp.insert ("bin.lib.prefix"); + vp.insert ("bin.lib.suffix"); + + vp.insert ("bin.lib.load_suffix", + variable_visibility::project); vp.insert> ("bin.lib.version", variable_visibility::project); -- cgit v1.1