mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Makefile.common: Fix building discord-rpc with --disable-threads.
This commit is contained in:
parent
997cd88c95
commit
aa2fd6cfed
@ -1744,6 +1744,11 @@ ifeq ($(HAVE_NETWORKING), 1)
|
||||
NEED_CXX_LINKER = 1
|
||||
DEFINES += -DHAVE_DISCORD
|
||||
DEFINES += -Ideps/discord-rpc/include/ -Ideps/discord-rpc/thirdparty/rapidjson-1.1.0/include/
|
||||
|
||||
ifneq ($(HAVE_THREADS), 1)
|
||||
DEFINES += -DDISCORD_DISABLE_IO_THREAD
|
||||
endif
|
||||
|
||||
OBJ += deps/discord-rpc/src/discord_rpc.o \
|
||||
deps/discord-rpc/src/rpc_connection.o \
|
||||
deps/discord-rpc/src/serialization.o \
|
||||
|
Loading…
x
Reference in New Issue
Block a user