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

login
register
mail settings
Submitter ?????? ?????????
Date April 9, 2019, 12:38 p.m.
Message ID <20190409123842.19600-4-lrn1986@gmail.com>
Download mbox | patch
Permalink /patch/55577/
State New
Headers show

Comments

?????? ????????? - April 9, 2019, 12:38 p.m.
On Windows that function might be in libpthread.

Signed-off-by: ?????? ????????? <lrn1986@gmail.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

Privacy Policy