[Ffmpeg-devel] [PATCH] fix vhook/Makefile
Wed Sep 6 23:22:28 CEST 2006
> 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 $@
... should be:
+ $(CC) $(VHOOKLIBS) $(LDFLAGS) -g -o $@ $(VHOOKSHFLAGS) $<
That order of dependancy libraries was already discussed at:
More information about the ffmpeg-devel