summaryrefslogtreecommitdiff
path: root/malloc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/Makefile')
-rw-r--r--malloc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index 68f5d10aeb..eb6563777c 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