diff options
-rw-r--r-- | libbuild2/install/init.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/install/init.cxx b/libbuild2/install/init.cxx index 1a6ee0f..d4b7f86 100644 --- a/libbuild2/install/init.cxx +++ b/libbuild2/install/init.cxx @@ -524,7 +524,12 @@ namespace build2 // Configure "installability" for built-in target types. // + // Note that for exe{} we also set explicit 755 mode in case it gets + // installed somewhere else where the default is not 755 (for example to + // libexec/, which on Debian has the 644 mode). + // install_path<exe> (bs, dir_path ("bin")); + install_mode<exe> (bs, "755"); install_path<doc> (bs, dir_path ("doc")); install_path<legal> (bs, dir_path ("legal")); install_path<man> (bs, dir_path ("man")); |