about summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2000-08-09 09:10:26 +0000
committerAndreas Schwab <schwab@suse.de>2000-08-09 09:10:26 +0000
commit580ca83f5f52e7ac66638448d80f68631f0683bf (patch)
treecbe907df2ad87dafa47311cbcab42a9513ceed75 /malloc
parent2bbc70d5da0ea7dc46ee4a3e87566d2cc18ff995 (diff)
downloadglibc-580ca83f5f52e7ac66638448d80f68631f0683bf.tar.gz
glibc-580ca83f5f52e7ac66638448d80f68631f0683bf.tar.xz
glibc-580ca83f5f52e7ac66638448d80f68631f0683bf.zip
* configure.in: Add `-lm' when checking for libgd. * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during linking.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index 7497908707..7cec63dde4 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -80,7 +80,7 @@ do-memusagestat: $(objpfx)memusagestat
 
 memusagestat-modules = memusagestat
 $(objpfx)memusagestat: $(memusagestat-modules:%=$(objpfx)%.o)
-	$(LINK.o) -o $@ $^ $(libgd-LDFLAGS) -lgd -lpng -lz
+	$(LINK.o) -o $@ $^ $(libgd-LDFLAGS) -lgd -lpng -lz -lm
 
 include ../Rules