pthread fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@3179 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-11-06 12:53:35 +00:00
parent c766a8b973
commit 9170d91cd1
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Nov 6 13:15:00 1998 Richard Frith-Macdonald <richard@brainstrom.co.uk>
* target.make: If objc library built with threads, assume we need to
link with -lpthread on linux.
Tue Nov 3 10:30:12 1998 Adam Fedor <fedor@doc.com>
* target.make (netbsd): New (attempt at) shared lib target.

View file

@ -36,7 +36,11 @@ endif
# Target specific libraries
#
ifeq ($(GNUSTEP_TARGET_OS),linux-gnu)
TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) -ldl -lm
ifeq ($(objc_threaded),1)
TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) -lpthread -ldl -lm
else
TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) -ldl -lm
endif
endif
ifeq ($(findstring solaris, $(GNUSTEP_TARGET_OS)), solaris)
ifeq ($(objc_threaded),1)