[Buildroot] [PATCH 1/2] libqrencode: link with pthread to avoid build failure

Peter Korsgaard jacmet at uclibc.org
Sun Sep 14 21:14:38 UTC 2014


>>>>> "Danomi" == Danomi Manchego <danomimanchego123 at gmail.com> writes:

 > Fixes: http://autobuild.buildroot.net/results/1ca0719dd1fe0bbc528ec99b5bc2b42e985bfdca/
 > Signed-off-by: Danomi Manchego <danomimanchego123 at gmail.com>
 > ---
 >  package/libqrencode/libqrencode.mk | 2 ++
 >  1 file changed, 2 insertions(+)

 > diff --git a/package/libqrencode/libqrencode.mk b/package/libqrencode/libqrencode.mk
 > index d445763..085d0ae 100644
 > --- a/package/libqrencode/libqrencode.mk
 > +++ b/package/libqrencode/libqrencode.mk
 > @@ -11,6 +11,8 @@ LIBQRENCODE_INSTALL_STAGING = YES
 >  LIBQRENCODE_LICENSE = LGPLv2.1+
 >  LIBQRENCODE_LICENSE_FILES = COPYING
 
 > +LIBQRENCODE_CONF_OPT = LIBS='-pthread'
 > +

Looking at configure.ac I see that pthread support is optional, so this
should only be done if BR2_TOOLCHAIN_HAS_THREADS, otherwise we need to
pass --disable-thread-safety.

Committed with that fixed, thanks. The 2nd patch then doesn't make any
sense, so I've dropped that one.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list