]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed zstdmt compilation under Windows minGW/MSYS2, by @inikep
authorYann Collet <cyan@fb.com>
Fri, 3 Feb 2017 22:35:42 +0000 (14:35 -0800)
committerYann Collet <cyan@fb.com>
Fri, 3 Feb 2017 22:35:42 +0000 (14:35 -0800)
programs/Makefile

index f94bffd442e0806d796ecaa52eabe562616ae8b1..9746ec4ed6944e790090e86c223d54ffa3cc8265 100644 (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: