diff mbox series

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

Message ID 20190409123842.19600-4-lrn1986@gmail.com (mailing list archive)
State New, archived
Headers show
Series MinGW compatibility patches | expand

Commit Message

Руслан Ижбулатов April 9, 2019, 12:38 p.m. UTC
On Windows that function might be in libpthread.

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

Patch

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