[Ffmpeg-devel] [PATCH] fix vhook/Makefile
Gustavo Sverzut Barbieri
barbieri
Wed Sep 6 23:35:13 CEST 2006
On 9/6/06, V?ctor Paesa <wzrlpy at arsystel.com> wrote:
> Hi,
>
> > As discussed on drawtext.c rewrite patch, here follows the standalone
> > patch to fix Makefile problem (linker is missing specific libraries
> > for each vhook).
> >
> >
>
> Cygwin is picky regarding the place of libraries in the link command line,
> I need the $(LDFLAGS_$@) to be at the right.
>
>
> So in your patch this one line ...
>
> + $(CC) $(LDFLAGS_$@) $(VHOOKLIBS) $(LDFLAGS) -g -o $@
> $(VHOOKSHFLAGS) $<
>
> ... should be:
>
> + $(CC) $(VHOOKLIBS) $(LDFLAGS) -g -o $@ $(VHOOKSHFLAGS) $<
> $(LDFLAGS_$@)
>
> That order of dependancy libraries was already discussed at:
> http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2006-July/012851.html
problem is: it need to be before LDFLAGS since this defines --as-needed.
Ideas?
--
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: barbieri at gmail.com
MSN: barbieri at gmail.com
ICQ#: 17249123
Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
Phone: +1 (347) 624 6296; 08122692 at sip.stanaphone.com
GPG: 0xB640E1A2 @ wwwkeys.pgp.net
More information about the ffmpeg-devel
mailing list