about summary refs log tree commit diff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-07-03 19:07:09 +0000
committerRoland McGrath <roland@gnu.org>1996-07-03 19:07:09 +0000
commit175b633d811d6427fb9206c2bed6aa49f8500b36 (patch)
treedf3bff45aeb6f953436e9165c34f30937e85fa6b /elf/Makefile
parent8a594e3cb7ea389cec5043cfcfd865d2bd0b8138 (diff)
downloadglibc-175b633d811d6427fb9206c2bed6aa49f8500b36.tar.gz
glibc-175b633d811d6427fb9206c2bed6aa49f8500b36.tar.xz
glibc-175b633d811d6427fb9206c2bed6aa49f8500b36.zip
* elf/Makefile (LDFLAGS-dl.so): New variable.
	(libdl.so): Depend on eval.so.
	(distribute): Add eval.c.
	* elf/eval.c: New file.
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 4b970084af..13fced3b85 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -34,7 +34,7 @@ elide-routines.so = $(dl-routines) dl-support
 # interpreter and operating independent of libc.
 rtld-routines	:= rtld $(dl-routines) dl-sysdep dl-minimal
 distribute	= $(rtld-routines:=.c) dynamic-link.h do-rel.h dl-machine.h \
-		  soinit.c sofini.c ldd.sh.in
+		  soinit.c sofini.c ldd.sh.in eval.c
 
 extra-libs	= libdl
 libdl-routines	:= dlopen dlclose dlsym dlerror dladdr
@@ -108,4 +108,5 @@ $(objpfx)ldd: ldd.sh.in Makefile
 
 # muwahaha
 
+LDFLAGS-dl.so = -Wl,-dynamic-linker,$(slibdir)/$(rtld-installed-name)
 $(objpfx)libdl.so: $(objpfx)eval.so