1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

add -static-libgcc -static-libstdc++ to libtonlibjson and emulator when PORTABLE=1

This commit is contained in:
neodiX 2025-01-09 20:38:09 +04:00
parent ca9afc9673
commit 6b4eae3a25

View file

@ -100,9 +100,9 @@ endif()
if (PORTABLE)
target_link_libraries(tonlibjson PRIVATE tonlibjson_private -static-libgcc -static-libstdc++)
else
else()
target_link_libraries(tonlibjson PRIVATE tonlibjson_private)
if
endif()
generate_export_header(tonlibjson EXPORT_FILE_NAME ${CMAKE_CURRENT_BINARY_DIR}/tonlib/tonlibjson_export.h)
if (!BUILD_SHARED_LIBS)