diff --git a/src/Makefile.d/features.mk b/src/Makefile.d/features.mk index cf6a728db..d79a3816b 100644 --- a/src/Makefile.d/features.mk +++ b/src/Makefile.d/features.mk @@ -73,13 +73,6 @@ libs+=-lbacktrace opts+=-DHAVE_LIBBACKTRACE endif -#windoze hack -ifdef MINGW -ifndef NODISCORDRPC -HAVE_DISCORDRPC=1 -endif -endif - ifdef HAVE_DISCORDRPC $(eval $(call Propogate_flags,DISCORDRPC)) libs+=-ldiscord-rpc diff --git a/src/Makefile.d/win32.mk b/src/Makefile.d/win32.mk index fa411416e..db2b99a84 100644 --- a/src/Makefile.d/win32.mk +++ b/src/Makefile.d/win32.mk @@ -42,6 +42,10 @@ libs+=-Wl,--large-address-aware NOLIBBACKTRACE=1 endif +ifndef NODISCORDRPC +HAVE_DISCORDRPC=1 +endif + ifndef MINGW64 32=32 x86=x86