Skip to content

Commit

Permalink
Adjsut windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
SpyCheese committed Jul 26, 2024
1 parent b260122 commit fdbb637
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assembly/native/build-toncryptolib-windows-github.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
call "C:\Program Files\Microsoft Visual Studio\2022\%1\VC\Auxiliary\Build\vcvars64.bat"
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\%1\VC\Auxiliary\Build\vcvars64.bat"
call build-toncryptolib-windows.bat
2 changes: 1 addition & 1 deletion crypto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ elseif (APPLE)
target_link_libraries(ton_crypto_lib PUBLIC "-force_load" ton_crypto_core)
target_link_libraries(ton_crypto_lib PUBLIC "-force_load" tdutils)
else()
target_link_libraries(ton_crypto_lib PUBLIC -Wl,--whole-archive ton_crypto_core tdutils -Wl,--no-whole-archive)
target_link_libraries(ton_crypto_lib PUBLIC -Wl,--whole-archive ton_crypto_core tdutils ${OPENSSL_CRYPTO_LIBRARY} -Wl,--no-whole-archive)
endif()

install(TARGETS ton_crypto_lib LIBRARY DESTINATION lib)
Expand Down

0 comments on commit fdbb637

Please sign in to comment.