]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
remove redundant "ifeq ($(HAVE_ZLIB), 1)"
authorPrzemyslaw Skibinski <inikep@gmail.com>
Wed, 8 Feb 2017 20:11:18 +0000 (21:11 +0100)
committerPrzemyslaw Skibinski <inikep@gmail.com>
Wed, 8 Feb 2017 20:11:18 +0000 (21:11 +0100)
programs/Makefile

index b189224f3a348fe0890248e1f287185da78beb9e..8257e394e12f103fbd6c8d6e7c209ef995e8385c 100644 (file)
@@ -70,8 +70,6 @@ VOID = /dev/null
 HAVE_ZLIB := $(shell echo -e "\#include <zlib.h>\nint main(){}" | $(CC) -o have_zlib -x c - -lz 2> $(VOID) && echo 1 || echo 0)
 ifeq ($(HAVE_ZLIB), 1)
 TEMP := $(shell rm have_zlib$(EXT))
-endif
-ifeq ($(HAVE_ZLIB), 1)
 ZLIBCPP = -DZSTD_GZDECOMPRESS
 ZLIBLD = -lz
 endif