diff options
Diffstat (limited to 'libbuild2/bin/init.cxx')
-rw-r--r-- | libbuild2/bin/init.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libbuild2/bin/init.cxx b/libbuild2/bin/init.cxx index 83c4b38..2acc262 100644 --- a/libbuild2/bin/init.cxx +++ b/libbuild2/bin/init.cxx @@ -526,8 +526,10 @@ namespace build2 if (install_loaded) { - install_path (bs, wasm, dir_path ("bin")); // Goes to install.bin - install_mode (bs, wasm, "644"); // But not executable. + // Note that we keep the executable bit on the .wasm file, see + // Emscripten issue 12707 for background. + // + install_path (bs, wasm, dir_path ("bin")); } } } |