[Ffmpeg-devel] [PATCH] rewrite vhook/drawtext.c

Víctor Paesa wzrlpy
Wed Sep 6 09:44:51 CEST 2006


Hi,

>  - makefile: use vhook specific LDFLAGS by appending library name with
> $(LDFLAGS_$@) and defining LDFLAGS_drawtext.so. I'm not sure if this
> works with every build system, please check.
>

Cygwin is picky regarding the place of libraries in the link command line,
I need them 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_$@)


But I'm not sure if your patch follows the "spirit" of the building
system ...

Regards,
V?ctor






More information about the ffmpeg-devel mailing list