Commit 70eba769 authored by Michael Niedermayer's avatar Michael Niedermayer

configure: add -lrt to libavutil when needed for nanosleep

This is similar to 7d97511eSigned-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 904cfd25
......@@ -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
......
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