fixed zstdmt compilation under Windows minGW/MSYS2, by @inikep

This commit is contained in:
Yann Collet 2017-02-03 14:35:42 -08:00
parent 21eb80d485
commit 762ddeeb9e

View File

@ -139,7 +139,9 @@ zstd-compress: $(ZSTDCOMMON_FILES) $(ZSTDCOMP_FILES) zstdcli.c fileio.c
$(CC) $(FLAGS) -DZSTD_NOBENCH -DZSTD_NODICT -DZSTD_NODECOMPRESS $^ -o $@$(EXT)
zstdmt: CPPFLAGS += -DZSTD_MULTITHREAD
ifeq (,$(filter Windows%,$(OS)))
zstdmt: LDFLAGS += -lpthread
endif
zstdmt: zstd
generate_res: