forked from mirrors/gecko-dev
The reason the error mentioned in build-mingw32-nsis.sh happens is that the default mode NSIS builds in is a fully-installed mode, where it hardcodes the locations of its data files. This is why nsis needs to be used from the same place it's built for. But there's another mode, enabled with NSIS_CONFIG_CONST_DATA_PATH=no, that makes it relocatable, and makes it find its data files relatively to the nsis binary. However, there's a bug in the nsis build scripts, which makes the nsis binary installed in the destination directory instead of a bin/ subdirectory, while the source code itself looks for data files relative to the parent directory of the directory that contains the executable. So we need to set PREFIX_BIN to force the executable to be installed in a bin/ subdirectory. There is also an issue in nsis itself when it's executed by anything other than a shell, which we patch out. Differential Revision: https://phabricator.services.mozilla.com/D125638 |
||
|---|---|---|
| .. | ||
| crashinjectdll | ||
| __init__.py | ||
| autowinchecksec.py | ||
| crashinject.cpp | ||
| dummy_libs.py | ||
| moz.build | ||
| mozconfig.vs-latest | ||
| mozconfig.vs2017 | ||
| nsis-no-insert-timestamp.patch | ||
| nsis-no-underscore.patch | ||
| orderfile.txt | ||