When compiling for GNU/Hurd, use the same code used for GNU/Linux ELF

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@19156 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2004-04-20 09:43:51 +00:00
parent f31bb3b2b4
commit 62f4f0b4d1
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Tue Apr 20 10:27:16 2004 Matt Rice <ratmice@yahoo.com>
* target.make: Use the GNU/Linux ELF code for GNU/Hurd too.
2004-04-12 Adam Fedor <fedor@gnu.org>
* common.make (GNUSTEP_FRAMEWORKS_FLAGS): Add missing close paren.

View file

@ -499,9 +499,12 @@ endif
####################################################
#
# Linux ELF
# Linux ELF or GNU/Hurd
#
ifeq ($(GNUSTEP_TARGET_OS), linux-gnu)
# The following ifeq matches both 'linux-gnu' (which is GNU/Linux ELF)
# and 'gnu0.3' (I've been told GNUSTEP_TARGET_OS is 'gnu0.3' on
# GNU/Hurd at the moment). We want the same code in both cases.
ifeq ($(findstring gnu, $(GNUSTEP_TARGET_OS)), gnu)
HAVE_SHARED_LIBS = yes
SHARED_LIB_LINK_CMD = \
$(CC) $(SHARED_LD_PREFLAGS) -shared -Wl,-soname,$(LIB_LINK_SONAME_FILE) \