Sha256: 65704927bef342ef54e1f63788b9dd844169e7568d8011df340d4dfe5336e1ea
Contents?: true
Size: 1.09 KB
Versions: 2
Compression:
Stored size: 1.09 KB
Contents
From 66f7df8065a288bc245dc3fa5938fcaaecdc95f2 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov <bordjukov@gmail.com> Date: Thu, 9 Jun 2016 03:11:07 +0300 Subject: [PATCH 5/7] Remove lcms2 check --- configure.bash | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/configure.bash b/configure.bash index 842b2b5..ecf5128 100755 --- a/configure.bash +++ b/configure.bash @@ -17,7 +17,7 @@ else COCOA_READER=0 LCMS2=auto fi -LDFLAGS="-lpng -lz -static" +LDFLAGS="-lpng -lz -llcms2 -lpthread -static" EXTRA_CFLAGS= EXTRA_LDFLAGS= @@ -361,20 +361,7 @@ if [ "$HAS_LIBPNG" -eq 0 ]; then error "libpng" "not found (try: $LIBPNG_CMD)" fi -# lcms2 -if [ "$LCMS2" != 0 ]; then - if find_library "lcms2" "lcms2" "lcms2.h" "liblcms2.a" "liblcms2.$SOLIBSUFFIX*"; then - cflags "-DUSE_LCMS=1" - else - if [ "$LCMS2" = 'auto' ]; then - status "lcms2" "no" - else - error "lcms2" "not found (please install libcms2-devel package)" - fi - fi -else - status "lcms2" "no" -fi +cflags "-DUSE_LCMS=1" echo -- 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/0005-Remove-lcms2-check.patch |
image_compressor_pack-1.0.0.0 | ports/patches/pngquant/0005-Remove-lcms2-check.patch |