Sha256: 5d90d9fa227319b2e2a32bb386634bd788b3e6d206db1f6d33057b42390cb858

Contents?: true

Size: 946 Bytes

Versions: 2

Compression:

Stored size: 946 Bytes

Contents

From 62f44de49aea319dbf104392671edea9fa99df9b Mon Sep 17 00:00:00 2001
From: Petko Bordjukov <bordjukov@gmail.com>
Date: Thu, 9 Jun 2016 03:07:27 +0300
Subject: [PATCH 4/7] Remove libz check

---
 configure.bash | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/configure.bash b/configure.bash
index 984001f..842b2b5 100755
--- a/configure.bash
+++ b/configure.bash
@@ -17,7 +17,7 @@ else
     COCOA_READER=0
     LCMS2=auto
 fi
-LDFLAGS="-lpng -static"
+LDFLAGS="-lpng -lz -static"
 EXTRA_CFLAGS=
 EXTRA_LDFLAGS=
 
@@ -361,11 +361,6 @@ if [ "$HAS_LIBPNG" -eq 0 ]; then
     error "libpng" "not found (try: $LIBPNG_CMD)"
 fi
 
-# zlib
-if ! find_library "zlib" "z" "zlib.h" "libz.a" "libz.$SOLIBSUFFIX*"; then
-    error "zlib" "not found (please install zlib-devel package)"
-fi
-
 # lcms2
 if [ "$LCMS2" != 0 ]; then
     if find_library "lcms2" "lcms2" "lcms2.h" "liblcms2.a" "liblcms2.$SOLIBSUFFIX*"; then
-- 
2.10.2

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
image_compressor_pack-1.0.0.1 ports/patches/pngquant/0004-Remove-libz-check.patch
image_compressor_pack-1.0.0.0 ports/patches/pngquant/0004-Remove-libz-check.patch