mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
fdd29a5531
commit
822acf8221
2 changed files with 7 additions and 0 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue