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 @@
         SLIB_UNINSTALL_EXTRA_CMD='rm -f
         "$(LIBDIR)"/$(LIBPREF)$(NAME)_dll.a
         "$(LIBDIR)"/$(LIBPREF)$(NAME)_dll.lib'
         vhook="no"
         ;;
+    gnu/kfreebsd)
+        LDLATEFLAGS="-Wl,--as-needed $LDLATEFLAGS"
+        ;;
 
     *)
         targetos="${targetos}-UNKNOWN"


This patch originates from Aurelien Jarno <[EMAIL PROTECTED]> and has
been applied to the debian package. Please consider applying it to svn
as well.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to