Stuart Henderson wrote:
> Turns out I forgot about the pthread stubs, without which there
> are build failures in mandoc and various ports things unless we link
> them with -lpthread. This broke a few things in my first ports test
> build, but thanks to guenther's work it should now be valid to pull
> this in via an inter-library dependency rather than having to
> sprinkle it over mandoc and lots of the ports tree.


> Index: Makefile
> -# so that it works with NO THREADS
> -SRCS +=      pthread_stub.c
> -
> -#    mem3.c mem5.c
> +SRCS =       sqlite3.c
> +LDADD =      -lpthread

Why are we dropping the stubs in favor of linking with libpthread?

Reply via email to