networking

This commit is contained in:
2025-07-13 15:47:42 +03:00
parent f5b26be510
commit a9c28b8940
345 changed files with 142130 additions and 174 deletions

View File

@@ -100,6 +100,7 @@ CUtlString CLDProject::Link( void )
if (m_target.kernel == TARGET_KERNEL_LINUX)
{
args.AppendTail("-rdynamic");
args.AppendTail("-Wl,--whole-archive");
}
if (linkType == ELINK_DYNAMIC_LIBRARY)
{
@@ -111,6 +112,10 @@ CUtlString CLDProject::Link( void )
{
args.AppendTail("-Wl,--no-whole-archive");
}
if (m_target.kernel == TARGET_KERNEL_LINUX)
{
args.AppendTail("-Wl,--no-whole-archive");
}
for (auto lib: libraries)
{
args.AppendTail("-l");