Bug 1867925 - Mark some storage-access-api tests as intermittent after wpt-sync....
[gecko.git] / build / win32 / nsis-scons.patch
blobd372ea99ea7b7805bd353b9794816beddb5cc3c7
1 Patch from https://sourceforge.net/p/nsis/code/7291/
3 diff -ruN nsis-3.07-src/Contrib/ExDLL/SConscript nsis-3.08-src/Contrib/ExDLL/SConscript
4 --- nsis-3.07-src/Contrib/ExDLL/SConscript 2015-06-22 01:13:45.000000000 +0900
5 +++ nsis-3.08-src/Contrib/ExDLL/SConscript 2021-08-05 05:15:13.000000000 +0900
6 @@ -47,7 +47,7 @@
7 env.DistributeExamples(api_files, path='Plugin/nsis')
8 env.DistributeExamples(example, path='Plugin')
9 if env['PLATFORM'] != 'win32':
10 - if env.has_key('PREFIX_PLUGINAPI_INC'):
11 + if 'PREFIX_PLUGINAPI_INC' in env:
12 env.Distribute(api_files, None, 'pluginapi_inc', '', 'nsis', 'pluginapi', 'pluginapi')
15 @@ -56,7 +56,7 @@
16 else:
17 example += lib_files
19 - if env.has_key('PREFIX_PLUGINAPI_LIB'):
20 + if 'PREFIX_PLUGINAPI_LIB' in env:
21 env.Distribute(lib, None, 'pluginapi_lib', '', 'nsis', 'pluginapi', 'pluginapi')