Sha256: 02b2ca2e6dee44b9d6e56cbbaf3a787afb3004e435d9c1527c729b48163a88b5

Contents?: true

Size: 845 Bytes

Versions: 5

Compression:

Stored size: 845 Bytes

Contents

From ef60a1c883d5159cc3e521a8b29993a4e828b6cd Mon Sep 17 00:00:00 2001
From: Petko Bordjukov <bordjukov@gmail.com>
Date: Thu, 9 Jun 2016 01:39:55 +0300
Subject: [PATCH] Allow passing LDFLAGS as configure arg

---
 configure | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure b/configure
index 7ab199e..67695e4 100755
--- a/configure
+++ b/configure
@@ -146,6 +146,9 @@ do
         # Can't use the system-supplied libpng without the system-supplied zlib.
         with_system_libpng=0
         ;;
+    LDFLAGS=* )
+        export LDFLAGS="$optarg"
+        ;;
     * )
         echo "$0: error: unknown option: $arg"
         echo "Type \"$0 -help\" for help"
@@ -154,6 +157,8 @@ do
     esac
 done
 
+echo $LDFLAGS
+
 if test ! -f "$0"
 then
     echo "$0: error: cannot find myself; rerun with an absolute file name"
-- 
2.8.3

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
image_compressor_pack-1.0.0.1 ports/patches/optipng/0001-Allow-passing-LDFLAGS-as-configure-arg.patch
image_compressor_pack-1.0.0.0 ports/patches/optipng/0001-Allow-passing-LDFLAGS-as-configure-arg.patch
image_compressor_pack-0.1.3 ports/patches/optipng/0001-Allow-passing-LDFLAGS-as-configure-arg.patch
image_compressor_pack-0.1.1 ports/patches/optipng/0001-Allow-passing-LDFLAGS-as-configure-arg.patch
image_compressor_pack-0.1.1.rc2 ports/patches/optipng/0001-Allow-passing-LDFLAGS-as-configure-arg.patch