[PATCH] wcap: Imported vpxenc.c uses maths symbols so add -lm to LDFLAGS

Kristian Høgsberg hoegsberg at gmail.com
Tue May 29 07:06:32 PDT 2012


On Tue, May 29, 2012 at 11:31:56AM +0100, Rob Bradford wrote:
> From: Rob Bradford <rob at linux.intel.com>

Ah, oops, I actually snug in the -lm fix with the commit that added
--disable-wcap-tools.  Which I fixed Saturday but didn't push until
Monday.  Oh well, hopefully the wcap build trouble is fixed now.

Kristian

> 
> ---
>  wcap/Makefile.am |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/wcap/Makefile.am b/wcap/Makefile.am
> index 7dca7e9..df46735 100644
> --- a/wcap/Makefile.am
> +++ b/wcap/Makefile.am
> @@ -19,7 +19,7 @@ wcap_decode_SOURCES =				\
>  
>  wcap_decode_CPPFLAGS = -DCONFIG_VP8_ENCODER=1
>  wcap_decode_CFLAGS = $(WCAP_CFLAGS)
> -wcap_decode_LDADD = $(WCAP_LIBS)
> +wcap_decode_LDADD = $(WCAP_LIBS) -lm
>  
>  wcap_snapshot_SOURCES =				\
>  	wcap-snapshot.c				\
> -- 
> 1.7.7.6
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list