[FFmpeg-devel] [PATCH] get rid of libavutil/libavutil.so etc. in addition to -lavutil

Måns Rullgård mans
Sat Dec 13 16:33:35 CET 2008


Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:

> Hello,
> as I recently explained in another mail, having libavutil/libavutil.so
> in the linking line on OpenBSD makes the binaries always look for a .so
> in that path, which means it basically never works.
> This change removes that part and thus fixes it for me, but I am working
> here without a clue I admit...:
> Index: subdir.mak
> ===================================================================
> --- subdir.mak  (revision 16093)
> +++ subdir.mak  (working copy)
> @@ -29,7 +29,7 @@
>
>  $(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS)
>         $(SLIB_CREATE_DEF_CMD)
> -       $(CC) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$^ $(FFEXTRALIBS) $(EXTRAOBJS)
> +       $(CC) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$(filter-out %.so,$$^) $(FFEXTRALIBS) $(EXTRAOBJS)
>         $(SLIB_EXTRA_CMD)

You were on the right track.  I've committed a similar fix.

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




More information about the ffmpeg-devel mailing list