From: Przemyslaw Skibinski Date: Wed, 8 Feb 2017 20:11:18 +0000 (+0100) Subject: remove redundant "ifeq ($(HAVE_ZLIB), 1)" X-Git-Tag: v1.1.4~1^2~75^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93901fe85ca3eb342dfbbbc6c4778c5f653a438c;p=thirdparty%2Fzstd.git remove redundant "ifeq ($(HAVE_ZLIB), 1)" --- diff --git a/programs/Makefile b/programs/Makefile index b189224f3..8257e394e 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -70,8 +70,6 @@ VOID = /dev/null HAVE_ZLIB := $(shell echo -e "\#include \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