On Jun 21, 2018, at 2:53 PM, Dennis Clarke <dcla...@blastwave.org> wrote:
> 
> n0$ diff Makefile.backup Makefile
> 70c70
> < TLIBS = -lz  $(LIBS)
> ---
> > TLIBS = -lz -lrt $(LIBS)
> n0$

Actually, you want this:



Index: configure.ac
==================================================================
--- configure.ac
+++ configure.ac
@@ -194,10 +194,11 @@
 AC_SUBST(SQLITE_THREADSAFE)
 
 if test "$SQLITE_THREADSAFE" = "1"; then
   AC_SEARCH_LIBS(pthread_create, pthread)
   AC_SEARCH_LIBS(pthread_mutexattr_init, pthread)
+  AC_SEARCH_LIBS(sched_yield, rt)
 fi
 
 ##########
 # Do we want to support release
 #



Then run autoconf to re-generate the configure script, and re-configure.  
Unlike many FOSS projects, touching configure.ac in SQLite won’t do that for 
you on the next “make”.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to