[MPlayer-users] Cross-compilation

Eric Nelson eric.nelson at boundarydevices.com
Tue Aug 14 17:18:04 CEST 2007


Reimar Döffinger wrote:
> Hello,
> On Tue, Aug 14, 2007 at 06:30:51AM -0700, Eric Nelson wrote:
>> The patch below allows override of the DESTDIR symbol when doing
>> "make install". This is useful when creating a filesystem for an
>> embedded target.
> 
> I don't think that is a good way to do it, why can't you just use the
> --prefix configure option?
> 
Using 'prefix' embeds the build-system paths into the executable instead
of '/usr/local', creating problems building the target filesystem.

i.e. I get this:

	~/userland$ strings root/bin/mplayer | grep /font
	font/font.desc
	/home/ericn/userland/install/share/mplayer/font/font.desc
	/home/ericn/userland/install/share/mplayer/font

instead of this:

	~/userland$ strings root/bin/mplayer | grep /font
	font/font.desc
	/usr/local/share/mplayer/font/font.desc
	/usr/local/share/mplayer/font

In any case, the specification of DESTDIR using ?= should be
harmless unless overridden, right?

-- Eric




More information about the MPlayer-users mailing list