summaryrefslogtreecommitdiffstats
path: root/package/perl-net-ssleay
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2014-07-24 20:15:56 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-24 22:30:55 +0200
commit07f0c8ab25847bc3120f3fd99945680ea030daaa (patch)
tree8c0026098dae8cb2e36497f95ffa3fbb6da1e265 /package/perl-net-ssleay
parent5bd9ed6fe6a4a7c3a3a27453cc6a2bd2eefc5b05 (diff)
downloadbuildroot-07f0c8ab25847bc3120f3fd99945680ea030daaa.tar.gz
buildroot-07f0c8ab25847bc3120f3fd99945680ea030daaa.zip
perl-net-ssleay: fix configure
CCFLAGS needs the same replacement as LDDLFAGS see http://autobuild.buildroot.net/results/299/299d6fa6b2ccf97987ffd9c99130c25dd55ca9b4/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/perl-net-ssleay')
-rw-r--r--package/perl-net-ssleay/perl-net-ssleay.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/perl-net-ssleay/perl-net-ssleay.mk b/package/perl-net-ssleay/perl-net-ssleay.mk
index 7234d1eb04..fb9b385e8e 100644
--- a/package/perl-net-ssleay/perl-net-ssleay.mk
+++ b/package/perl-net-ssleay/perl-net-ssleay.mk
@@ -15,9 +15,10 @@ PERL_NET_SSLEAY_LICENSE_FILES = LICENSE
# suffers from: don't search for openssl, they pick the host-system one.
PERL_NET_SSLEAY_CONF_ENV = OPENSSL_PREFIX=$(STAGING_DIR)/usr
-# Remove problematic single quotes in LDDLFLAGS definition
+# Remove problematic single quotes in LDDLFLAGS & CCFLAGS definition
define PERL_NET_SSLEAY_FIX_MAKEFILE
$(SED) "s/^LDDLFLAGS = '\(.*\)'/LDDLFLAGS = \1/" $(@D)/Makefile
+ $(SED) "s/^CCFLAGS = '\(.*\)'/CCFLAGS = \1/" $(@D)/Makefile
endef
PERL_NET_SSLEAY_POST_CONFIGURE_HOOKS += PERL_NET_SSLEAY_FIX_MAKEFILE
OpenPOWER on IntegriCloud