diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-04 12:32:04 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-05 18:51:12 +0200 |
commit | 70eba7695cdf60cfbd8ea066ad70989bff1bb2db (patch) | |
tree | 2a14d3ed38fe88d5759aea05707480bdc12305c2 /configure | |
parent | 904cfd257db56f8146e7053bb9053ab53122f735 (diff) | |
download | ffmpeg-70eba7695cdf60cfbd8ea066ad70989bff1bb2db.tar.gz |
configure: add -lrt to libavutil when needed for nanosleep
This is similar to 7d97511e13ef30cd99bae0e36400de055b72918d
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |