Re: [libav-devel] [PATCH 07/13] configure: Add -lm to libxavs linker flags

2016-12-01 Thread Diego Biurrun
On Tue, Nov 29, 2016 at 07:34:07PM +0100, Diego Biurrun wrote:
> ---
> 
> Yes, libxavs has a broken pkg-config file, in case you wondered..
> 
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

I'm dropping this patch. You can actually build a shared library of libxavs
and avoid this problem. If you disable assembly that is - *sigh* ..

Diego
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


Re: [libav-devel] [PATCH 07/13] configure: Add -lm to libxavs linker flags

2016-11-29 Thread Vittorio Giovara
On Tue, Nov 29, 2016 at 1:34 PM, Diego Biurrun  wrote:
> ---
>
> Yes, libxavs has a broken pkg-config file, in case you wondered..
>
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index aab5a68..72ea4e0 100755
> --- a/configure
> +++ b/configure
> @@ -4689,7 +4689,7 @@ enabled libx264   && require_pkg_config x264 
> "stdint.h x264.h" x264_enco
>  enabled libx265   && require_pkg_config x265 x265.h x265_api_get &&
>   { check_cpp_condition x265.h "X265_BUILD >= 57" 
> ||
> die "ERROR: libx265 version must be >= 57."; }
> -enabled libxavs   && require libxavs "stdint.h xavs.h" 
> xavs_encoder_encode -lxavs
> +enabled libxavs   && require libxavs "stdint.h xavs.h" 
> xavs_encoder_encode -lxavs -lm
>  enabled libxvid   && require libxvid xvid.h xvid_global -lxvidcore
>  enabled mmal  && { check_lib interface/mmal/mmal.h 
> mmal_port_connect -lmmal_core -lmmal_util -lmmal_vc_client -lbcm_host ||
>  { ! enabled cross_compile && {
> --

probably ok
-- 
Vittorio
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel