[Buildroot] [PATCH] openssl: drop libdl from pc file

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jul 19 16:07:01 UTC 2014


Dear Gustavo Zacarias,

On Sat, 19 Jul 2014 12:16:11 -0300, Gustavo Zacarias wrote:

> +# libdl has no business in a static build
> +ifeq ($(BR2_PREFER_STATIC_LIB),y)
> +define OPENSSL_FIXUP_STATIC_PKGCONFIG
> +	$(SED) 's/-ldl//' $(STAGING_DIR)/usr/lib/pkgconfig/openssl.pc
> +endef
> +endif
> +OPENSSL_POST_INSTALL_STAGING_HOOKS += OPENSSL_FIXUP_STATIC_PKGCONFIG

This should have been inside the ifeq condition.

Committed with that fixed, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list