mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-30 00:41:14 +00:00
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:
parent
c766a8b973
commit
9170d91cd1
2 changed files with 10 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue