add pthread for command-line scanner when platform is not windows

This commit is contained in:
Brad Parker 2019-05-21 22:41:17 -04:00
parent 6c1310ca06
commit f9a8c617ce

View File

@ -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)