Skip to content

Commit

Permalink
Added a more concrete Linux exception for Discord RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
Blixibon committed Dec 3, 2022
1 parent 2fb704a commit af6f9fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sp/src/game/client/client_base.vpc
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion sp/src/game/client/client_mapbase.vpc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}
Expand Down

0 comments on commit af6f9fe

Please sign in to comment.