[Ffmpeg-devel] [PATCH] fix vhook/Makefile

Víctor Paesa wzrlpy
Wed Sep 6 23:22:28 CEST 2006


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

Regards,
V?ctor Paesa




More information about the ffmpeg-devel mailing list