diff options
author | Luboš Luňák <l.lunak@centrum.cz> | 2022-07-21 15:57:53 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-07-22 19:16:16 +0200 |
commit | 4fbcededefa07a97aa9ca55986241a0dd0146806 (patch) | |
tree | 0c72fa9f5e8bb8dc3e40ca9b00fa8104a341a69d /solenv | |
parent | 5a8a1c4a86938b65c5ea7807f60e721946d7d8de (diff) |
require wsl-lo-helper to be preinstalled, like 'make'
It is needed to even find MSVC, so configure cannot easily build it.
Change-Id: Ie4e950cf01b9d8778cdc3e9a53718954b0c3c166
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137344
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/wsl/README | 8 | ||||
-rw-r--r-- | solenv/wsl/wsl-lo-helper.cpp | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/solenv/wsl/README b/solenv/wsl/README new file mode 100644 index 000000000000..a9609f08dce9 --- /dev/null +++ b/solenv/wsl/README @@ -0,0 +1,8 @@ +This is a tool that will be useful for various tasks when building LO on WSL. + +It is a Win32 program, not a Linux (WSL) one. + +Compile using the Developer Command Prompt from MSVC as: +cl wsl-lo-helper.cpp advapi32.lib +and the copy the executable to /opt/lo/bin (e.g. from shell as): +sudo mv wsl-lo-helper.exe /opt/lo/bin/wsl-lo-helper diff --git a/solenv/wsl/wsl-lo-helper.cpp b/solenv/wsl/wsl-lo-helper.cpp index 1a90580b6f19..87285dcb1d3c 100644 --- a/solenv/wsl/wsl-lo-helper.cpp +++ b/solenv/wsl/wsl-lo-helper.cpp @@ -7,14 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -/* - * This is a tool that will be useful for various tasks if/when we build LO on WSL - * - * It is a Win32 program, not a Linux (WSL) one. - * - * Compile as: cl -MD wsl-lo-helper.cpp advapi32.lib - */ - #include <cstdio> #include <cstring> |