From f2e93d77c3e182ff6821073567c4f8693d3fe2ac Mon Sep 17 00:00:00 2001 From: Adam Fedor Date: Wed, 30 Dec 1998 20:45:42 +0000 Subject: [PATCH] Update target libs git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@3506 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ target.make | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index b3ec7855..dbf2e14e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 30 15:08:14 1998 Adam Fedor + + * target.make (TARGET_SYSTEM_LIBS): Add FreeBSD specific libs. Use + $(objc_threaded) when adding thread lib to Solaris. + Mon Dec 21 11:04:45 1998 Matthias Klose * common.make: New macros MAJOR_VERSION (0), MINOR_VERSION (5), diff --git a/target.make b/target.make index 59a70975..ab77f482 100644 --- a/target.make +++ b/target.make @@ -45,12 +45,12 @@ ifeq ($(GNUSTEP_TARGET_OS),linux-gnu) endif endif ifeq ($(findstring solaris, $(GNUSTEP_TARGET_OS)), solaris) - ifeq ("$(objc_threaded)","-lthread") + ifeq ("$(objc_threaded)","") + TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) -lsocket -lnsl -ldl -lm + else INTERNAL_CFLAGS = -D_REENTRANT INTERNAL_OBJCFLAGS = -D_REENTRANT - TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) -lthread -lsocket -lnsl -ldl -lm - else - TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) -lsocket -lnsl -ldl -lm + TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) $(objc_threaded) -lsocket -lnsl -ldl -lm endif endif ifeq ($(findstring irix, $(GNUSTEP_TARGET_OS)), irix) @@ -68,6 +68,9 @@ endif ifeq ($(findstring freebsd3.0, $(GNUSTEP_TARGET_OS)), freebsd3.0) TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) -lm endif +ifeq ($(findstring netbsd, $(GNUSTEP_TARGET_OS)), netbsd) +TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) -lm +endif # # Specific settings for building shared libraries, static libraries,