[FFmpeg-devel] [PATCH]Fix compilation with frei0r and --disable-ffserver
Stefano Sabatini
stefasab at gmail.com
Fri Jan 20 00:34:37 CET 2012
On date Thursday 2012-01-19 18:32:53 +0100, Carl Eugen Hoyos encoded:
> Hi!
>
> A user claims that attached patch fixes the compilation error with
> --enable-frei0r --disable-ffserver ($ldl is only added to the ldflags if
> ffserver is compiled), I did not test.
>
> Please comment, Carl Eugen
Can we get the config.log file?
Weirdly, I'm able to link even if I explicitely disable -ldl.
> diff --git a/configure b/configure
> index d846479..b2f50dc 100755
> --- a/configure
> +++ b/configure
> @@ -3215,6 +3215,8 @@ enabled_any sndio_indev sndio_outdev && check_lib2 sndio.h sio_open -lsndio
> enabled libcdio &&
> check_lib2 "cdio/cdda.h cdio/paranoia.h" cdio_cddap_open "-lcdio_paranoia -lcdio_cdda -lcdio"
>
> +enabled frei0r && add_extralibs $ldl
> +
> enabled x11grab &&
> check_header X11/Xlib.h &&
> check_header X11/extensions/XShm.h &&
Also check the attached patch.
--
FFmpeg = Frightening and Free Mean Plastic Evil Governor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-simplify-ldl-flag-handling.patch
Type: text/x-diff
Size: 1096 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120120/f5ecd9ad/attachment.bin>
More information about the ffmpeg-devel
mailing list