]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
MingW32 builds: generate NSIS installers for Windows
authorDaniel Lenski <dlenski@gmail.com>
Tue, 23 Mar 2021 17:55:19 +0000 (10:55 -0700)
committerDaniel Lenski <dlenski@gmail.com>
Thu, 25 Mar 2021 20:38:31 +0000 (13:38 -0700)
commit87295be62fde4caa75b6a816009cf20bd8804713
tree26ca74fe57d753b9a6d1a593a1a2e4bd1f70314f
parentbc935727c2a05a3a094fbfbf7f1547c6bd24cfcf
MingW32 builds: generate NSIS installers for Windows

nsiswrapper is a rather dodgy Perl script (looks like it hasn't actually
been updated since ~2009) with one indispensable function: it can
automatically find required DLLs and bundle them into the installer.

1. The `PATH` variable must be set to include DLL locations (why `PATH`?️)
2. It mixes up its stdout and stderr, so `--verbose` can't be used without
   `--run`. (Argh…)
3. It doesn't try to normalize the paths of the bundled files, so
   `./x` and `$PWD/x` result in different directory structures.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
.gitlab-ci.yml