Browse Source

Link libgcc and libstdc++ statically.

patch-3
Artem Pikulin 7 years ago
parent
commit
3bc91b780d
  1. 4
      iguana/exchanges/CMakeLists.txt

4
iguana/exchanges/CMakeLists.txt

@ -26,5 +26,5 @@ add_definitions(-DIGUANA_MAXPACKETSIZE=1572864)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
include_directories("${CMAKE_SOURCE_DIR}/includes")
endif()
target_link_libraries(marketmaker-testnet ${MM_LIBS} etomiclib-testnet)
target_link_libraries(marketmaker-mainnet ${MM_LIBS} etomiclib-mainnet)
target_link_libraries(marketmaker-testnet ${MM_LIBS} etomiclib-testnet -static-libgcc -static-libstdc++)
target_link_libraries(marketmaker-mainnet ${MM_LIBS} etomiclib-mainnet -static-libgcc -static-libstdc++)

Loading…
Cancel
Save