remove zlib detection artefact
result of compilation test is sent to /dev/null
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
v1.1.3
|
v1.1.3
|
||||||
|
cli : zstd can decompress .gz files. Feature can be turned off by targeting `make zstd-nogz` or setting `make HAVE_ZLIB=0`
|
||||||
cli : new : experimental target `make zstdmt`, with multi-threading support
|
cli : new : experimental target `make zstdmt`, with multi-threading support
|
||||||
cli : new : advanced commands for detailed parameters, by Przemyslaw Skibinski
|
cli : new : advanced commands for detailed parameters, by Przemyslaw Skibinski
|
||||||
cli : fix zstdless on Mac OS-X, by Andrew Janke
|
cli : fix zstdless on Mac OS-X, by Andrew Janke
|
||||||
|
|||||||
+2
-1
@@ -66,7 +66,8 @@ EXT =
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# zlib detection
|
# zlib detection
|
||||||
HAVE_ZLIB := $(shell echo "int main(){}" | $(CC) -o have_zlib -x c - -lz && echo 1 || echo 0)
|
VOID = /dev/null
|
||||||
|
HAVE_ZLIB := $(shell echo "int main(){}" | $(CC) -o $(VOID) -x c - -lz && echo 1 || echo 0)
|
||||||
ifeq ($(HAVE_ZLIB), 1)
|
ifeq ($(HAVE_ZLIB), 1)
|
||||||
ZLIBCPP = -DZSTD_GZDECOMPRESS
|
ZLIBCPP = -DZSTD_GZDECOMPRESS
|
||||||
ZLIBLD = -lz
|
ZLIBLD = -lz
|
||||||
|
|||||||
Reference in New Issue
Block a user