mirror of https://github.com/mamba-org/mamba.git
link libstdc++ and libgcc statically as well
This commit is contained in:
parent
746e20c4ab
commit
3127f0f981
|
@ -82,6 +82,8 @@ if (LINK_STATIC)
|
|||
elseif (UNIX)
|
||||
set(MAMBA_FORCE_DYNAMIC_LIBS rt dl c resolv)
|
||||
endif()
|
||||
|
||||
add_link_options(-static-libstdc++ -static-libgcc)
|
||||
endif()
|
||||
|
||||
if (LINK_STATIC)
|
||||
|
|
Loading…
Reference in New Issue