[Buildroot] [PATCH] gqview: Fix build failure due to missing -lm

Valentine Barshak gvaxon at gmail.com
Wed Oct 24 19:22:52 UTC 2012


On 10/07/2012 12:35 AM, Valentine Barshak wrote:
> Signed-off-by: Valentine Barshak <gvaxon at gmail.com>
> ---
>   package/gqview/gqview.mk | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/package/gqview/gqview.mk b/package/gqview/gqview.mk
> index 2f64cd0..7d09fda 100644
> --- a/package/gqview/gqview.mk
> +++ b/package/gqview/gqview.mk
> @@ -7,6 +7,7 @@ GQVIEW_VERSION = 2.1.5
>   GQVIEW_SOURCE = gqview-$(GQVIEW_VERSION).tar.gz
>   GQVIEW_SITE = http://prdownloads.sourceforge.net/gqview
>   GQVIEW_DEPENDENCIES = host-pkg-config libgtk2
> +GQVIEW_CONF_ENV = LIBS="-lm"
>
>   $(eval $(autotools-package))
>
>

Does this work for everyone else or is it just deprecated and nobody 
should use it?

I can't build without -lm neither in BR nor using my native host tools.

Thanks,
Val.


More information about the buildroot mailing list