From 4d1c02b736f4c1e827b11085cdc83ce4b46c03d1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 26 Jun 2016 16:06:54 +0200 Subject: Add notion of ad hoc group, use to handle DLL/import library --- build2/bin/module.cxx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'build2/bin') diff --git a/build2/bin/module.cxx b/build2/bin/module.cxx index edb3c53..1ab29f9 100644 --- a/build2/bin/module.cxx +++ b/build2/bin/module.cxx @@ -213,7 +213,9 @@ namespace build2 // Configure "installability" of our target types. // - install::path (b, dir_path ("bin")); // Install into install.bin. + using namespace install; + + install_path (b, dir_path ("bin")); // Install into install.bin. // Should shared libraries have executable bit? That depends on // who you ask. In Debian, for example, it should not unless, it @@ -233,10 +235,12 @@ namespace build2 // // Everyone is happy then? // - install::path (b, dir_path ("lib")); // Install into install.lib. + install_path (b, dir_path ("lib")); // Install into install.lib. + + //@@ For Windows, libso{} is an import library and shouldn't be exec. - install::path (b, dir_path ("lib")); // Install into install.lib. - install::mode (b, "644"); + install_path (b, dir_path ("lib")); // Install into install.lib. + install_mode (b, "644"); return true; } -- cgit v1.1