From 86961b89087ccd3cf5aed8ba1add32a982f3641c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 8 Mar 2017 00:49:40 +0300 Subject: Fix librt detection in configure. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e415892f5..5135052cc 100755 --- a/configure.ac +++ b/configure.ac @@ -508,7 +508,7 @@ else if test "x$applebuild_enabled" == "xfalse"; then if test "x$androidbuild_enabled" == "xfalse"; then AC_CHECK_LD_FLAG(-lrt, use_librt) - if test "x$test_flag" == "xyes"; then + if test "x$use_librt" == "xyes"; then AC_CHECK_LIB(rt, shm_open, , AC_MSG_ERROR([ *** Unable to find librt library])) fi -- cgit v1.2.3-70-g09d2