OpenBSD appears to need the -pthread flag when using pthreads.

This commit is contained in:
cls%seawood.org 1999-12-03 10:05:36 +00:00
parent 3b3a312f47
commit e1db505de1

View File

@ -36,6 +36,7 @@ OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DOPEN
ifeq ($(USE_PTHREADS),1)
OS_LIBS = -lc_r
THREAD_FLAG += -pthread
# XXX probably should define _THREAD_SAFE too.
else
OS_LIBS = -lc