From af6f9fe5185c1425bac6394073c94be723489198 Mon Sep 17 00:00:00 2001 From: "ALLEN-PC\\acj30" Date: Fri, 2 Dec 2022 19:03:29 -0600 Subject: [PATCH] Added a more concrete Linux exception for Discord RPC --- sp/src/game/client/client_base.vpc | 2 +- sp/src/game/client/client_mapbase.vpc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sp/src/game/client/client_base.vpc b/sp/src/game/client/client_base.vpc index dcdb9ad3..9eae51f1 100644 --- a/sp/src/game/client/client_base.vpc +++ b/sp/src/game/client/client_base.vpc @@ -1261,7 +1261,7 @@ $Project $ImpLib steam_api // Discord integration - $Lib "$LIBPUBLIC\discord-rpc" [$MAPBASE_RPC] + $Lib "$LIBPUBLIC\discord-rpc" [$MAPBASE_RPC&&!$LINUXALL] $Lib $LIBCOMMON/libcrypto [$POSIX] diff --git a/sp/src/game/client/client_mapbase.vpc b/sp/src/game/client/client_mapbase.vpc index f8860e24..4e604314 100644 --- a/sp/src/game/client/client_mapbase.vpc +++ b/sp/src/game/client/client_mapbase.vpc @@ -10,7 +10,7 @@ $Configuration { $PreprocessorDefinitions "$BASE;ASW_PROJECTED_TEXTURES;DYNAMIC_RTT_SHADOWS;GLOWS_ENABLE" - $PreprocessorDefinitions "$BASE;MAPBASE_RPC;DISCORD_RPC;STEAM_RPC" [$MAPBASE_RPC] + $PreprocessorDefinitions "$BASE;MAPBASE_RPC;DISCORD_RPC;STEAM_RPC" [$MAPBASE_RPC&&!$LINUXALL] $PreprocessorDefinitions "$BASE;MAPBASE_VSCRIPT" [$MAPBASE_VSCRIPT] $PreprocessorDefinitions "$BASE;NEW_RESPONSE_SYSTEM" [$NEW_RESPONSE_SYSTEM] }