This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
This patch is needed at least on ia64 because libgd requires libm to link successfully. Andreas. 2000-07-24 Andreas Schwab <schwab@suse.de> * configure.in: Add `-lm' when checking for libgd. * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during linking. Index: configure.in =================================================================== RCS file: /cvs/glibc/libc/configure.in,v retrieving revision 1.284 diff -u -a -u -r1.284 configure.in --- configure.in 2000/07/21 04:04:37 1.284 +++ configure.in 2000/07/24 13:20:41 @@ -1243,7 +1243,7 @@ old_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $libgd_ldflags" old_LIBS="$LIBS" -LIBS="$LIBS -lgd -lpng -lz" +LIBS="$LIBS -lgd -lpng -lz -lm" AC_TRY_LINK([#include <gd.h>], [gdImagePng (0, 0)], LIBGD=yes, LIBGD=no) CFLAGS="$old_CFLAGS" LDFLAGS="$old_LDFLAGS" Index: malloc/Makefile =================================================================== RCS file: /cvs/glibc/libc/malloc/Makefile,v retrieving revision 1.29 diff -u -a -u -r1.29 Makefile --- malloc/Makefile 2000/07/23 01:22:08 1.29 +++ malloc/Makefile 2000/07/24 13:17:01 @@ -80,7 +80,7 @@ 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 -- Andreas Schwab "And now for something SuSE Labs completely different." Andreas.Schwab@suse.de SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |