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

Reimar Döffinger Reimar.Doeffinger
Sat Dec 13 15:17:29 CET 2008

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 @@
-       $(CC) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$^ $(FFEXTRALIBS) $(EXTRAOBJS)
+       $(CC) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$(filter-out %.so,$$^) $(FFEXTRALIBS) $(EXTRAOBJS)
 ifdef SUBDIR

More information about the ffmpeg-devel mailing list