[Buildroot] [PATCH 1/1] mutt: fix static build with libidn2 and libunistring

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Aug 20 21:04:21 UTC 2018


Hello,

On Mon, 20 Aug 2018 19:08:07 +0200, Fabrice Fontaine wrote:
> When libidn2 is statically build with libunistring support, mutt needs
> to add -lunistring to LIBS.
> To do that, add a call to PKG_CHECK_MODULES to retrieve this information
> from libidn2.pc
> 
> Fixes:
>  - http://autobuild.buildroot.net/results/177da8f4798f69298db5385957184f1c53cca923
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  ...tatic-build-with-libidn2-and-libunistring.patch | 36 ++++++++++++++++++++++
>  package/mutt/mutt.mk                               |  4 ++-
>  2 files changed, 39 insertions(+), 1 deletion(-)
>  create mode 100644 package/mutt/0001-Fix-static-build-with-libidn2-and-libunistring.patch

Thanks for doing the right thing here by using pkg-config! Could you
submit this patch upstream ?

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list