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:
parent
128cdb9da3
commit
6ca5f54a73
2 changed files with 4 additions and 4 deletions
|
@ -35,8 +35,8 @@ else()
|
|||
add_library(emulator STATIC ${EMULATOR_SOURCE} ${EMULATOR_HEADERS})
|
||||
endif()
|
||||
|
||||
if (PORTABLE)
|
||||
target_link_libraries(emulator PUBLIC emulator_static git -static-libgcc -static-libstdc++)
|
||||
if (PORTABLE AND NOT APPLE)
|
||||
target_link_libraries(emulator PUBLIC emulator_static git -static-libgcc -static-libstdc++)
|
||||
else()
|
||||
target_link_libraries(emulator PUBLIC emulator_static git)
|
||||
endif()
|
||||
|
|
|
@ -98,8 +98,8 @@ else()
|
|||
add_library(tonlibjson STATIC ${TONLIB_JSON_SOURCE} ${TONLIB_JSON_HEADERS})
|
||||
endif()
|
||||
|
||||
if (PORTABLE)
|
||||
target_link_libraries(tonlibjson PRIVATE tonlibjson_private -static-libgcc -static-libstdc++)
|
||||
if (PORTABLE AND NOT APPLE)
|
||||
target_link_libraries(emulator PUBLIC emulator_static git -static-libgcc -static-libstdc++)
|
||||
else()
|
||||
target_link_libraries(tonlibjson PRIVATE tonlibjson_private)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue