[Ffmpeg-devel] [PATCH] Build Darwin dynamic/shared libraries

Michael Niedermayer michaelni
Sat Jul 16 17:37:05 CEST 2005


Hi

On Saturday 16 July 2005 15:23, Rich Felker wrote:
> On Sat, Jul 16, 2005 at 02:14:05PM +0200, Michael Niedermayer wrote:
> > > Anyway, do you want --install-prefix, $DESTROOT, or perhaps both?
> >
> > if i understand that correctly than $DESTDIR would be the default value
> > for install_prefix, that would be ok
>
> the way that DESTDIR is supposed to work is that it's normally empty
> string, and the ordinary paths from prefix, etc get used. but if the
> user sets DESTDIR during make install, DESTDIR gets added to the
> beginning of all paths in order to install into a sandbox environment.
> this is very useful for building binary packages, naturally.

ok, so a simple
echo "libdir=\$(DESTDIR)$libdir" >> config.mak
...
should add support for that, and we wont need to add $DESTDIR to every line of 
every Makefile like the original patch did

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list