mirror of https://git.ffmpeg.org/ffmpeg.git
configure: simplify check_lib2
Originally committed as revision 21266 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f855b7b9c9
commit
300cde27b6
|
@ -709,11 +709,7 @@ check_lib2(){
|
||||||
headers="$1"
|
headers="$1"
|
||||||
func="$2"
|
func="$2"
|
||||||
shift 2
|
shift 2
|
||||||
temp_extralibs "$@"
|
check_func_headers "$headers" $func "$@" && add_extralibs "$@"
|
||||||
check_func_headers "$headers" $func && add_extralibs "$@"
|
|
||||||
err=$?
|
|
||||||
restore_flags
|
|
||||||
return $err
|
|
||||||
}
|
}
|
||||||
|
|
||||||
check_exec(){
|
check_exec(){
|
||||||
|
|
Loading…
Reference in New Issue