Build more OpenSSL binaries and add to path

More recent verions of the PostgreSQL source code requires some OpenSSL
binaries to be on the PATH.
This commit is contained in:
Jason Erickson 2020-11-13 12:17:48 -07:00
parent a17cc0181a
commit 25ccbd0445

View File

@ -53,6 +53,7 @@ def setup_build_env():
str(opt.py_dir / 'Scripts'),
r'C:\Strawberry\Perl\bin',
r'C:\Program Files\Git\mingw64\bin',
str(opt.ssl_build_dir / 'bin'),
os.environ['PATH'],
]
setenv('PATH', os.pathsep.join(path))
@ -212,7 +213,7 @@ def build_openssl():
+ ['no-shared', 'no-zlib', f'--prefix={top}', f'--openssldir={top}']
)
run_command("nmake build_libs install_dev".split())
run_command("nmake build_libs install_sw".split())
assert (top / 'lib' / 'libssl.lib').exists()