]> git.ipfire.org Git - thirdparty/openssl.git/commit - Configurations/windows-makefile.tmpl
Use cmd.exe to export env vars before commands
authorTanzinul Islam <tanzinul.islam@gmail.com>
Thu, 26 Nov 2020 15:38:40 +0000 (15:38 +0000)
committerDmitry Belyavskiy <beldmit@gmail.com>
Mon, 19 Apr 2021 09:05:54 +0000 (11:05 +0200)
commit583a9f1f6b0d0842f8d63a21c335b24494fc67bc
treed614828a30a913a214b7009d560d9116317fb1e3
parentf1ee757daaf8ea1000c6558abd1ffc8ad5234c09
Use cmd.exe to export env vars before commands

Microsoft NMake runs the entire command block in a single `cmd.exe`
session, so environment variables exported with `set` are seen by the
following commands. C++Builder's `make.exe` doesn't use `cmd.exe` but
executes each command line separately. While it emulates only certain
shell features itself, `set` isn't one of them.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/13540)
Configurations/windows-makefile.tmpl