diff options
Diffstat (limited to 'PCbuild/openssl.props')
-rw-r--r-- | PCbuild/openssl.props | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/PCbuild/openssl.props b/PCbuild/openssl.props index 9ebe8a6..257cc85 100644 --- a/PCbuild/openssl.props +++ b/PCbuild/openssl.props @@ -6,14 +6,18 @@ </ClCompile> <Link> <AdditionalLibraryDirectories>$(opensslOutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> - <AdditionalDependencies>ws2_32.lib;libeay32.lib;ssleay32.lib;%(AdditionalDependencies)</AdditionalDependencies> + <AdditionalDependencies>ws2_32.lib;libcrypto.lib;libssl.lib;%(AdditionalDependencies)</AdditionalDependencies> </Link> </ItemDefinitionGroup> + <PropertyGroup> + <_DLLSuffix>-1_1</_DLLSuffix> + <_DLLSuffix Condition="$(Platform) == 'x64'">$(_DLLSuffix)-x64</_DLLSuffix> + </PropertyGroup> <ItemGroup> - <_SSLDLL Include="$(opensslOutDir)\libeay32.dll" /> - <_SSLDLL Include="$(opensslOutDir)\libeay32.pdb" /> - <_SSLDLL Include="$(opensslOutDir)\ssleay32.dll" /> - <_SSLDLL Include="$(opensslOutDir)\ssleay32.pdb" /> + <_SSLDLL Include="$(opensslOutDir)\libcrypto$(_DLLSuffix).dll" /> + <_SSLDLL Include="$(opensslOutDir)\libcrypto$(_DLLSuffix).pdb" /> + <_SSLDLL Include="$(opensslOutDir)\libssl$(_DLLSuffix).dll" /> + <_SSLDLL Include="$(opensslOutDir)\libssl$(_DLLSuffix).pdb" /> </ItemGroup> <Target Name="_CopySSLDLL" Inputs="@(_SSLDLL)" Outputs="@(_SSLDLL->'$(OutDir)%(Filename)%(Extension)')" AfterTargets="Build"> <Copy SourceFiles="@(_SSLDLL)" DestinationFolder="$(OutDir)" /> |