[Buildroot] [PATCH 1/1] heimdal: needs host-flex and explicitly set -lpthread

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Apr 20 20:35:32 UTC 2015


Dear Ryan Coe,

On Sun, 19 Apr 2015 10:53:23 -0700, Ryan Coe wrote:
> Signed-off-by: Ryan Coe <bluemrp9 at gmail.com>
> ---
>  package/heimdal/heimdal.mk | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/heimdal/heimdal.mk b/package/heimdal/heimdal.mk
> index 972f15c..c4a1703 100644
> --- a/package/heimdal/heimdal.mk
> +++ b/package/heimdal/heimdal.mk
> @@ -6,11 +6,11 @@
>  
>  HEIMDAL_VERSION = 1.5.3
>  HEIMDAL_SITE = http://www.h5l.org/dist/src
> -HEIMDAL_DEPENDENCIES = host-e2fsprogs host-pkgconf
> +HEIMDAL_DEPENDENCIES = host-e2fsprogs host-pkgconf host-flex
>  HEIMDAL_INSTALL_STAGING = YES
>  # static because of -fPIC issues with e2fsprogs on x86_64 host
>  HOST_HEIMDAL_CONF_OPTS = --with-x=no --disable-shared --enable-static
> -HOST_HEIMDAL_CONF_ENV = MAKEINFO=true
> +HOST_HEIMDAL_CONF_ENV = MAKEINFO=true LIBS="-lpthread"

Could you give more details about the situations in which you are
seeing problems with host-flex and -lpthread being missing?

I indeed see that flex and bison are being tested at configure time,
but failing to detect them does not seem to affect the build (maybe
heimdal has a pre-generated versions of the files normally generated by
flex/bison?). And I see -lpthread being used properly when linking.

So, please include more details about the issues you're seeing your
commit log.

Thanks a lot!

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



More information about the buildroot mailing list