Depfiles fix for linuxhtreads
Andreas Schwab
schwab@suse.de
Mon Jun 9 20:41:00 GMT 2003
This makes sure that the depfile for libc-tsd.os is actually being
used.
Andreas.
2003-06-09 Andreas Schwab <schwab@suse.de>
* Makefile: Move inclusion of ../Rules down after extra-objs is
fully known.
--- linuxthreads/Makefile.~1.76.~ 2003-05-05 22:25:20.000000000 +0200
+++ linuxthreads/Makefile 2003-06-09 22:33:33.000000000 +0200
@@ -121,7 +121,7 @@ ifeq (yes,$(build-shared))
tests-nodelete-yes = unload
endif
-include ../Rules
+all: # Make this the default target; it will be defined in Rules.
# What we install as libpthread.so for programs to link against is in fact a
# link script. It contains references for the various libraries we need.
@@ -204,6 +204,8 @@ else
libc-link.so = $(common-objpfx)libc.so
endif
+include ../Rules
+
# Depend on libc.so so a DT_NEEDED is generated in the shared objects.
# This ensures they will load libc.so for needed symbols if loaded by
# a statically-linked program that hasn't already loaded it.
More information about the Libc-hacker
mailing list