Fiux pthread library linkage on openbsd

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22671 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-03-17 09:20:06 +00:00
parent fdd29a5531
commit 822acf8221
2 changed files with 7 additions and 0 deletions

View file

@ -2,6 +2,8 @@
* Source/thr-mach.h: include objc/objc-api.h
* Source/thr-pthread.m: use pthread_yield() except for apple
* Source/GNUmakefile: link pthread library on openbsd where it isn't
linked to the objc runtime.
2006-03-13 Adam Fedor <fedor@gnu.org>

View file

@ -83,6 +83,11 @@ GSLocale.m \
preface.m \
mframe.m
ifeq ($(findstring openbsd, $(GNUSTEP_TARGET_OS)), openbsd)
GNU_MFILES += thr-pthread.m
OBJC_LIBS += -lpthread
endif
ifneq ($(OBJC_RUNTIME_LIB), gnu)
GNU_MFILES += objc-gnu2next.m
ifeq ($(HAVE_PTHREAD_H), yes)