From 26ee7253d42aac6ab1211802e21bc410b6119e83 Mon Sep 17 00:00:00 2001 From: otavepto <153766569+otavepto@users.noreply.github.com> Date: Fri, 17 May 2024 15:07:45 +0300 Subject: [PATCH] avoid these linker flags since each lib is static --- pre_make_more.lua | 6 +++--- premake5.lua | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pre_make_more.lua b/pre_make_more.lua index 6e8d74d3..51afe10b 100644 --- a/pre_make_more.lua +++ b/pre_make_more.lua @@ -13,11 +13,11 @@ project "SteamClient" -- BASIC FOR WINDOWS filter "options:os=windows" buildoptions { - "/permissive-", "/MP", "/DYNAMICBASE", "/nologo", - "/utf-8", "/Zc:char8_t-", "/EHsc", "/GF", "/GL-", "/GS" + "/permissive-", "/MP", "/DYNAMICBASE", + "/utf-8", "/Zc:char8_t-", "/EHsc", "/GL-" } linkoptions { - "/DYNAMICBASE", "/ERRORREPORT:NONE", "/NOLOGO", "/emittoolversioninfo:no" + "/NOLOGO", "/emittoolversioninfo:no" } defines { "STEAMCLIENT_DLL","EMU_EXPERIMENTAL_BUILD" } diff --git a/premake5.lua b/premake5.lua index 17c89fda..d8415b36 100644 --- a/premake5.lua +++ b/premake5.lua @@ -301,10 +301,9 @@ project "SteamEmu" } linkoptions { - "-Wl,--whole-archive -Wl,-Bstatic", - "-Wl,-Bdynamic -Wl,--no-whole-archive -Wl,--exclude-libs,ALL" + "-Wl,--exclude-libs,ALL" } - + links { linux_link, overlay_link_linux