[FFmpeg-devel] [PATCH]Set the default for --shlibdir to --libdir

Clément Bœsch u at pkh.me
Sat Dec 13 10:58:30 CET 2014


On Sat, Dec 13, 2014 at 01:50:03AM +0100, Carl Eugen Hoyos wrote:
> On Saturday 13 December 2014 01:12:02 am Ivan Kalvachev wrote:
> > On 12/12/14, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> > > Hi!
> > >
> > > Attached patch fixes ticket #4183.
> > >
> > > Please review, Carl Eugen
> >
> > You should also update the configure help text, as the default is not
> > PREFIX/lib anymore.
> 
> New patch attached.
> 
> Thank you, Carl Eugen

> diff --git a/configure b/configure
> index e2e3619..0ec1a7c 100755
> --- a/configure
> +++ b/configure
> @@ -84,7 +84,7 @@ Standard options:
>    --datadir=DIR            install data files in DIR [PREFIX/share/ffmpeg]
>    --docdir=DIR             install documentation in DIR [PREFIX/share/doc/ffmpeg]
>    --libdir=DIR             install libs in DIR [PREFIX/lib]
> -  --shlibdir=DIR           install shared libs in DIR [PREFIX/lib]
> +  --shlibdir=DIR           install shared libs in DIR [LIBDIR]
>    --incdir=DIR             install includes in DIR [PREFIX/include]
>    --mandir=DIR             install man page in DIR [PREFIX/share/man]
>    --enable-rpath           use rpath to allow installing libraries in paths
> @@ -2685,7 +2685,7 @@ docdir_default='${prefix}/share/doc/ffmpeg'
>  incdir_default='${prefix}/include'
>  libdir_default='${prefix}/lib'
>  mandir_default='${prefix}/share/man'
> -shlibdir_default="$libdir_default"
> +shlibdir_default='${LIBDIR}'
>  

What if LIBDIR is not defined? (is it possible?)
Why not SHLIBDIR?

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141213/c4a66274/attachment.asc>


More information about the ffmpeg-devel mailing list