aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--malloc/Depend1
-rw-r--r--malloc/Makefile3
3 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a970549..2eddb29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-10-04 Ulrich Drepper <drepper@cygnus.com>
+
+ * malloc/Makefile: Add libdl dependency to libmemprof.so.
+ * malloc/Depend: New file.
+
1999-10-04 Andreas Jaeger <aj@suse.de>
* timezone/README: Change wording to not mention the current
diff --git a/malloc/Depend b/malloc/Depend
new file mode 100644
index 0000000..910c6d9
--- /dev/null
+++ b/malloc/Depend
@@ -0,0 +1 @@
+dlfcn
diff --git a/malloc/Makefile b/malloc/Makefile
index 68f5d10..eb65637 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -98,3 +98,6 @@ $(objpfx)mtrace: mtrace.pl
sed -e 's|@PERL@|$(PERL)|' -e 's|@XXX@|$(address-width)|' \
-e 's|@VERSION@|$(version)|' $^ > $@.new \
&& rm -fr $@ && mv $@.new $@ && chmod +x $@
+
+# The implementation uses `dlsym'
+$(objpfx)libmemprof.so: $(common-objpfx)dlfcn/libdl.so