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

dev
Yann Collet 2017-02-03 14:35:42 -08:00
parent 21eb80d485
commit 762ddeeb9e
1 changed files with 2 additions and 0 deletions

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: