[FFmpeg-cvslog] configure: add -lrt to libavutil when needed for	nanosleep
    Michael Niedermayer 
    git at videolan.org
       
    Sun Oct  5 18:58:37 CEST 2014
    
    
  
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Oct  4 12:32:04 2014 +0200| [70eba7695cdf60cfbd8ea066ad70989bff1bb2db] | committer: Michael Niedermayer
configure: add -lrt to libavutil when needed for nanosleep
This is similar to 7d97511e13ef30cd99bae0e36400de055b72918d
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=70eba7695cdf60cfbd8ea066ad70989bff1bb2db
---
 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 125063c..06a2d4e 100755
--- a/configure
+++ b/configure
@@ -4696,7 +4696,7 @@ check_func  mkstemp
 check_func  mmap
 check_func  mprotect
 # Solaris has nanosleep in -lrt, OpenSolaris no longer needs that
-check_func_headers time.h nanosleep || { check_func_headers time.h nanosleep -lrt && add_extralibs -lrt; }
+check_func_headers time.h nanosleep || { check_func_headers time.h nanosleep -lrt && add_extralibs -lrt && LIBRT="-lrt"; }
 check_func  sched_getaffinity
 check_func  setrlimit
 check_struct "sys/stat.h" "struct stat" st_mtim.tv_nsec -D_BSD_SOURCE
    
    
More information about the ffmpeg-cvslog
mailing list