Commit f5a90761 authored by Konstantin Pavlov's avatar Konstantin Pavlov Committed by Jean-Baptiste Kempf

contribs: ffmpeg: work around the ffmpeg configure check for libmp3lame.

On Linux, libmp3lame.a requires -lm to be linked as well.  Now this
library does not have a pkg-config file, so there are not many options
to fix it.  One option is to pass extra-libs in our contrib system, and
another one is fixing libav/ffmpeg configure to try and link libmath
during the check.  Both are not good.

(cherry picked from commit d58a6450)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent d2e49397
......@@ -146,7 +146,7 @@ endif
# Linux
FFMPEGCONF += --target-os=linux --enable-pic
FFMPEGCONF += --target-os=linux --enable-pic --extra-libs="-lm"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment