[FFmpeg-devel] [PATCH] support xvidcore if compiled with --as-needed

Måns Rullgård mans
Thu Jul 9 17:08:51 CEST 2009


"Diego E." ?Flameeyes? Petten? <flameeyes at gmail.com> writes:

> Il giorno Thu, 09/07/2009 alle 14.41 +0100, M?ns Rullg?rd ha scritto:
>> > for ffmpeg, it fails as soon as libxvid is compiled with
>> --as-needed.
>> > The attached patch fixes this and makes it all work again (tested).
>> 
>> Doesn't that mean the libxvid build is broken?
>
> I'd say so; if FFmpeg is also built with --as-needed, then the -lm would
> be discarded as well; it really looks like a backward way to fix the
> issue.

FFmpeg uses --as-needed by default.

-- 
M?ns Rullg?rd
mans at mansr.com

>From Diego E.  Thu Jul  9 18:13:22 2009
From: Diego E. (Diego E.)
Date: Thu, 09 Jul 2009 18:13:22 +0200
Subject: [FFmpeg-devel] [PATCH] support xvidcore if compiled with
 --as-needed
In-Reply-To: <yw1xbpnt7v24.fsf at unicorn.mansr.com>
References: <20090709155233.19557blhxcndg8gs at webmail.leuenberger.net>
	<yw1xskh66kjr.fsf at unicorn.mansr.com> <1247150657.7036.18.camel at yamato>
	<yw1xbpnt7v24.fsf at unicorn.mansr.com>
Message-ID: <1247156002.7036.21.camel at yamato>

Il giorno Thu, 09/07/2009 alle 16.08 +0100, M?ns Rullg?rd ha scritto:
> 
> FFmpeg uses --as-needed by default.

Then there is nothing to do there; the test does not discard -lm
probably because --as-needed is tested for _after_ xvid; but that does
not mean that it would work fine when linking xvid itself.

-- 
Diego Elio Petten? ? ?Flameeyes?
http://blog.flameeyes.eu/

If you found a .asc file in this mail and know not what it is,
it's a GnuPG digital signature: http://www.gnupg.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Questa ? una parte del messaggio firmata digitalmente
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090709/45b4e06e/attachment.pgp>



More information about the ffmpeg-devel mailing list