From 5d3580bdeee7d92e2b9c679a8161a63194c07a7e Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 4 Jun 2008 20:11:15 +0000 Subject: [PATCH] Now using the compiler as default linker (fixes builds on Debian etch) --- src/makefile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/makefile.c b/src/makefile.c index 95ad702..a6649ce 100644 --- a/src/makefile.c +++ b/src/makefile.c @@ -485,7 +485,7 @@ static void _variables_library(Configure * configure, FILE * fp, char * done) _targets_cflags(configure, fp); _targets_cxxflags(configure, fp); } - fputs("AR\t= ar -rc\nRANLIB\t= ranlib\nLD\t= ld -shared\n", fp); + fputs("AR\t= ar -rc\nRANLIB\t= ranlib\nLD\t= $(CC) -shared\n", fp); } static int _variables_includes(Configure * configure, FILE * fp)