aboutsummaryrefslogtreecommitdiff
path: root/build2/bin/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/bin/module.cxx')
-rw-r--r--build2/bin/module.cxx12
1 files changed, 8 insertions, 4 deletions
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<exe> (b, dir_path ("bin")); // Install into install.bin.
+ using namespace install;
+
+ install_path<exe> (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<libso> (b, dir_path ("lib")); // Install into install.lib.
+ install_path<libso> (b, dir_path ("lib")); // Install into install.lib.
+
+ //@@ For Windows, libso{} is an import library and shouldn't be exec.
- install::path<liba> (b, dir_path ("lib")); // Install into install.lib.
- install::mode<liba> (b, "644");
+ install_path<liba> (b, dir_path ("lib")); // Install into install.lib.
+ install_mode<liba> (b, "644");
return true;
}