mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
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>
This commit is contained in:
parent
5bd9ed6fe6
commit
07f0c8ab25
@ -15,9 +15,10 @@ PERL_NET_SSLEAY_LICENSE_FILES = LICENSE
|
|||||||
# suffers from: don't search for openssl, they pick the host-system one.
|
# suffers from: don't search for openssl, they pick the host-system one.
|
||||||
PERL_NET_SSLEAY_CONF_ENV = OPENSSL_PREFIX=$(STAGING_DIR)/usr
|
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
|
define PERL_NET_SSLEAY_FIX_MAKEFILE
|
||||||
$(SED) "s/^LDDLFLAGS = '\(.*\)'/LDDLFLAGS = \1/" $(@D)/Makefile
|
$(SED) "s/^LDDLFLAGS = '\(.*\)'/LDDLFLAGS = \1/" $(@D)/Makefile
|
||||||
|
$(SED) "s/^CCFLAGS = '\(.*\)'/CCFLAGS = \1/" $(@D)/Makefile
|
||||||
endef
|
endef
|
||||||
PERL_NET_SSLEAY_POST_CONFIGURE_HOOKS += PERL_NET_SSLEAY_FIX_MAKEFILE
|
PERL_NET_SSLEAY_POST_CONFIGURE_HOOKS += PERL_NET_SSLEAY_FIX_MAKEFILE
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user