[FFmpeg-devel] [PATCH] configure: Add missing extralib for gcrypt

Nicolas George george at nsup.org
Tue Dec 29 23:17:52 CET 2015


Le nonidi 9 nivôse, an CCXXIV, Ricardo Constantino a écrit :
> Signed-off-by: Ricardo Constantino <wiiaboo at gmail.com>
> ---
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index e3b7904..6d41343 100755
> --- a/configure
> +++ b/configure
> @@ -5396,7 +5396,7 @@ enabled avisynth          && { { check_lib2 "windows.h" LoadLibrary; } ||
>  enabled chromaprint       && require chromaprint chromaprint.h chromaprint_get_version -lchromaprint
>  enabled decklink          && { check_header DeckLinkAPI.h || die "ERROR: DeckLinkAPI.h header not found"; }
>  enabled frei0r            && { check_header frei0r.h || die "ERROR: frei0r.h header not found"; }
> -enabled gcrypt            && require2 gcrypt gcrypt.h gcry_mpi_new -lgcrypt
> +enabled gcrypt            && require2 gcrypt gcrypt.h gcry_mpi_new -lgcrypt -lgpg-error
>  enabled gmp               && require2 gmp gmp.h mpz_export -lgmp
>  enabled gnutls            && require_pkg_config gnutls gnutls/gnutls.h gnutls_global_init
>  enabled ladspa            && { check_header ladspa.h || die "ERROR: ladspa.h header not found"; }

This should be using libgcrypt-config, as per documentation:

https://gnupg.org/documentation/manuals/gcrypt/Building-sources.html

Otherwise, we have to duplicate the effort each time a dependency changes.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151229/38f495bf/attachment.sig>


More information about the ffmpeg-devel mailing list