On 1/8/2016 8:41 PM, Ricardo Constantino wrote: > Like this? Yes, pushed. Thank you.
> > > 0001-configure-Use-libgcrypt-config-s-cflags.patch > > > From f4e0c96e41da606a5d83ebff1dbad718c8fa2485 Mon Sep 17 00:00:00 2001 > From: Ricardo Constantino <[email protected]> > Date: Fri, 8 Jan 2016 23:40:50 +0000 > Subject: [PATCH] configure: Use libgcrypt-config's cflags > > --- > configure | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/configure b/configure > index 7cc0119..19898be 100755 > --- a/configure > +++ b/configure > @@ -5578,8 +5578,11 @@ fi > if enabled gcrypt; then > GCRYPT_CONFIG="${cross_prefix}libgcrypt-config" > if "${GCRYPT_CONFIG}" --version > /dev/null 2>&1; then > + gcrypt_cflags=$("${GCRYPT_CONFIG}" --cflags) > gcrypt_libs=$("${GCRYPT_CONFIG}" --libs) > - require2 gcrypt gcrypt.h gcry_mpi_new $gcrypt_libs > + check_func_headers gcrypt.h gcry_mpi_new $gcrypt_cflags $gcrypt_libs > || > + die "ERROR: gcrypt not found" > + add_cflags $gcrypt_cflags && add_extralibs $gcrypt_libs > else > require2 gcrypt gcrypt.h gcry_mpi_new -lgcrypt > fi > -- 2.6.3 _______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
