diff options
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makerules b/Makerules index 27053f31e8..ff6adcf9d2 100644 --- a/Makerules +++ b/Makerules @@ -595,9 +595,13 @@ ifndef subdir # table of the shared libc object. install: $(libdir)/libc.so $(libdir)/libc.so: $(common-objpfx)libc.so$(libc.so-version) \ + $(elfobjdir)/$(rtld-installed-name) \ $(common-objpfx)libc.a (echo '/* Use the shared library, but some functions are only in';\ - echo ' the static library, so try that secondarily. */';\ + echo ' the static library, so try that secondarily.'; \ + echo ' The dynamic linker defines some functions used by $(<F),';\ + echo ' but ld uses definitions from libc.a before the examining';\ + echo ' dependencies of $(<F) to find $(rtld-installed-name). */';\ echo 'GROUP ( $(^F) )') > $@.new mv -f $@.new $@ |