mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-23 06:49:34 +01:00
Fixed OpenSSL compilation for Agent2 on Windows
This commit is contained in:
parent
b2ba56547d
commit
44b880eb75
@ -212,8 +212,8 @@ RUN Set-Location -Path $env:SystemDrive\.; `
|
||||
--prefix=$env:SystemDrive\openssl_output `
|
||||
--openssldir=$env:SystemDrive\openssl_output_ssl; `
|
||||
set CL=/MP; `
|
||||
nmake /S; `
|
||||
nmake /S install_sw; `
|
||||
nmake /S build_sw; `
|
||||
nmake /S install_dev; `
|
||||
Write-Host 'OpenSSL is ready...';
|
||||
|
||||
COPY modbus.vs16.vcxproj c:\
|
||||
|
@ -242,10 +242,11 @@ RUN Set-Location -Path $env:SystemDrive\.; `
|
||||
# enable-capieng `
|
||||
no-capieng `
|
||||
--api=1.1.0 `
|
||||
--prefix=$env:SystemDrive\openssl_output `
|
||||
--openssldir=$env:SystemDrive\openssl_output_ssl; `
|
||||
mingw32-make -s -j"""$env:NUMBER_OF_PROCESSORS"""; `
|
||||
mingw32-make -s -j"""$env:NUMBER_OF_PROCESSORS""" install_sw; `
|
||||
--libdir=lib `
|
||||
--prefix=$env:SystemDrive/openssl_output `
|
||||
--openssldir=$env:SystemDrive/openssl_output_ssl; `
|
||||
mingw32-make -s -j"""$env:NUMBER_OF_PROCESSORS""" build_sw; `
|
||||
mingw32-make -s -j"""$env:NUMBER_OF_PROCESSORS""" install_dev; `
|
||||
Write-Host 'OpenSSL is ready...'; `
|
||||
Write-Host 'Removing cygwin...'; `
|
||||
Remove-Item -Recurse -Force -Path $env:SystemDrive\cygwin;
|
||||
|
Loading…
Reference in New Issue
Block a user