Skip to content

Commit

Permalink
add -static-libgcc -static-libstdc++ to libtonlibjson and emulator wh…
Browse files Browse the repository at this point in the history
…en PORTABLE=1
  • Loading branch information
neodix42 committed Jan 9, 2025
1 parent ca9afc9 commit 6b4eae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tonlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6b4eae3

Please sign in to comment.