mirror of
https://github.com/facebook/zstd.git
synced 2025-12-11 00:06:10 -05:00
fixed zstdmt compilation under Windows minGW/MSYS2, by @inikep
This commit is contained in:
parent
21eb80d485
commit
762ddeeb9e
@ -139,7 +139,9 @@ zstd-compress: $(ZSTDCOMMON_FILES) $(ZSTDCOMP_FILES) zstdcli.c fileio.c
|
|||||||
$(CC) $(FLAGS) -DZSTD_NOBENCH -DZSTD_NODICT -DZSTD_NODECOMPRESS $^ -o $@$(EXT)
|
$(CC) $(FLAGS) -DZSTD_NOBENCH -DZSTD_NODICT -DZSTD_NODECOMPRESS $^ -o $@$(EXT)
|
||||||
|
|
||||||
zstdmt: CPPFLAGS += -DZSTD_MULTITHREAD
|
zstdmt: CPPFLAGS += -DZSTD_MULTITHREAD
|
||||||
|
ifeq (,$(filter Windows%,$(OS)))
|
||||||
zstdmt: LDFLAGS += -lpthread
|
zstdmt: LDFLAGS += -lpthread
|
||||||
|
endif
|
||||||
zstdmt: zstd
|
zstdmt: zstd
|
||||||
|
|
||||||
generate_res:
|
generate_res:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user