mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
add pthread for command-line scanner when platform is not windows
This commit is contained in:
parent
6c1310ca06
commit
f9a8c617ce
1 changed files with 4 additions and 0 deletions
|
@ -162,6 +162,10 @@ ifeq ($(HAVE_THREADS), 1)
|
|||
SOURCES_C += \
|
||||
$(LIBRETRO_COMM_DIR)/rthreads/rthreads.c
|
||||
DEFINES += -DHAVE_THREADS
|
||||
|
||||
ifeq (,$(findstring MSYS,$(uname -s)))
|
||||
LIBS += -lpthread
|
||||
endif
|
||||
endif
|
||||
|
||||
flags := $(INCDIRS)
|
||||
|
|
Loading…
Add table
Reference in a new issue