[FFmpeg-devel] libraries linked with libX11 on GNU/kFreeBSD

Reinhard Tartler siretart
Wed Jul 16 14:59:04 CEST 2008

ffmpeg-free links with -Wl,--as-needed on GNU/Linux, so the resulting
libraries are not linked with libX11. This is something required by VLC.

On GNU/kFreeBSD, -Wl,--as-needed is not used, so VLC fails to build.
Please find below a patch to fix that.

--- ffmpeg-free-0.svn20080206.orig/configure
+++ ffmpeg-free-0.svn20080206/configure
@@ -1289,6 +1289,9 @@
+    gnu/kfreebsd)
+        LDLATEFLAGS="-Wl,--as-needed $LDLATEFLAGS"
+        ;;

This patch originates from Aurelien Jarno <aurel32 at debian.org> and has
been applied to the debian package. Please consider applying it to svn
as well.

Reinhard Tartler, KeyID 945348A4

More information about the ffmpeg-devel mailing list