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

do not use -static-libgcc -static-libstdc++ on mac for shared libs

This commit is contained in:
neodiX 2025-01-10 18:33:40 +04:00
parent 6ca5f54a73
commit ed7ac8202f
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ else()
endif() endif()
if (PORTABLE AND NOT APPLE) if (PORTABLE AND NOT APPLE)
target_link_libraries(emulator PUBLIC emulator_static git -static-libgcc -static-libstdc++) target_link_libraries(emulator PUBLIC emulator_static git -static-libgcc -static-libstdc++)
else() else()
target_link_libraries(emulator PUBLIC emulator_static git) target_link_libraries(emulator PUBLIC emulator_static git)
endif() endif()

View file

@ -99,7 +99,7 @@ else()
endif() endif()
if (PORTABLE AND NOT APPLE) if (PORTABLE AND NOT APPLE)
target_link_libraries(emulator PUBLIC emulator_static git -static-libgcc -static-libstdc++) target_link_libraries(tonlibjson PRIVATE tonlibjson_private -static-libgcc -static-libstdc++)
else() else()
target_link_libraries(tonlibjson PRIVATE tonlibjson_private) target_link_libraries(tonlibjson PRIVATE tonlibjson_private)
endif() endif()