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

git-svn-id: svn://10.0.0.236/trunk@55182 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cls%seawood.org
1999-12-03 10:05:36 +00:00
parent b2fedc2225
commit f6e0d56961

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