about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-05-21 16:08:17 +0000
committerUlrich Drepper <drepper@redhat.com>1997-05-21 16:08:17 +0000
commit079f7c691f73009829dc8f36c0a737919fe93aaf (patch)
tree21e48ff4005c569f1da545e771653e3ba82ea88c /math
parent00b97dc29c466d7d4462a81cd7de975bb80639d3 (diff)
downloadglibc-079f7c691f73009829dc8f36c0a737919fe93aaf.tar.gz
glibc-079f7c691f73009829dc8f36c0a737919fe93aaf.tar.xz
glibc-079f7c691f73009829dc8f36c0a737919fe93aaf.zip
Depend on libc.so for dynamic loading and for Linux ld.so.
Diffstat (limited to 'math')
-rw-r--r--math/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 550e9d6c50..7665fb97e5 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -98,3 +98,8 @@ override CFLAGS += -Wno-uninitialized -Wno-write-strings
 $(objpfx)libieee.a: $(objpfx)ieee-math.o
 	rm -f $@
 	ln $< $@
+
+# 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.
+$(objpfx)libm.so: $(common-objpfx)libc.so