Commit 07f0c8ab authored by Francois Perrad's avatar Francois Perrad Committed by Thomas Petazzoni
Browse files
parent 5bd9ed6f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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