[x264-devel] Fix pkg-config file

Brad Smith brad at comstyle.com
Thu Sep 27 10:16:34 CEST 2012


On Tue, Aug 21, 2012 at 03:42:24AM -0400, Brad Smith wrote:
> The following diff fixes the generated pkg-config file
> for dynamic vs static linking and adds the missing
> libm as appropriate. This is dependent on the other
> diff I sent earlier to set the libm variable.
 
ping.
 
> diff --git a/configure b/configure
> index 086b399..098d2e1 100755
> --- a/configure
> +++ b/configure
> @@ -1149,8 +1149,6 @@ echo "CLI_LIBX264 = $CLI_LIBX264" >> config.mak
>  
>  ${SRCPATH}/version.sh "${SRCPATH}" >> x264_config.h
>  
> -pclibs="-L$libdir -lx264 $libpthread"
> -
>  cat > x264.pc << EOF
>  prefix=$prefix
>  exec_prefix=$exec_prefix
> @@ -1160,7 +1158,8 @@ includedir=$includedir
>  Name: x264
>  Description: H.264 (MPEG4 AVC) encoder library
>  Version: $(grep POINTVER < x264_config.h | sed -e 's/.* "//; s/".*//')
> -Libs: $pclibs
> +Libs: -L$libdir -lx264
> +Libs.private: $libpthread $libm
>  Cflags: -I$includedir
>  EOF
>  
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the x264-devel mailing list