diff options
Diffstat (limited to 'rt')
-rw-r--r-- | rt/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rt/Makefile b/rt/Makefile index 5ac4dd4f63..712b1a9c54 100644 --- a/rt/Makefile +++ b/rt/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1997-2001, 2002 Free Software Foundation, Inc. +# Copyright (C) 1997-2001, 2002, 2003 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -53,7 +53,8 @@ include ../Rules # This ensures they will load libc.so for needed symbols if loaded by # a statically-linked program that hasn't already loaded it. $(objpfx)librt.so: $(common-objpfx)libc.so $(common-objpfx)libc_nonshared.a \ - $(shared-thread-library) + $(shared-thread-library) \ + $(if $(filter yes,$(elf)), $(elfobjdir)/ld.so) ifeq (yes,$(build-shared)) $(addprefix $(objpfx),$(tests)): $(objpfx)librt.so $(shared-thread-library) |