[PATCH 3/8] [PATCH for ZBar] Check for clock_gettime on pthread library as well

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Windows that function might be in libpthread.

Signed-off-by: Руслан Ижбулатов <lrn1986@xxxxxxxxx>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 6e092e0..3224888 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,7 +183,7 @@ ZBAR_CHK_CODE([pdf417], [PDF417 symbology (incomplete)])
 
 dnl libraries
 
-AC_SEARCH_LIBS([clock_gettime], [rt])
+AC_SEARCH_LIBS([clock_gettime], [rt pthread])
 AM_ICONV()
 
 dnl libraries linkage
-- 
2.4.0




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux