summaryrefslogtreecommitdiff
blob: f5bc776b1e6bf6a9fbb28567aafe679b41d3ea4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -aurp a/tools/autoconf.c b/tools/autoconf.c
--- a/tools/autoconf.c	2010-10-10 20:25:29.295001235 +0000
+++ b/tools/autoconf.c	2010-10-10 20:26:02.738999569 +0000
@@ -449,7 +449,7 @@ int main()
     fprintf(makefile,"TARGET	= psybnc\n");
     fprintf(makefile,"\n");
     fprintf(makefile,"all:	$(OBJS)\n");
-    fprintf(makefile,"	$(CC) -o $(TARGET) $(CFLAGS) $(OBJS) $(LIBS)\n");
+    fprintf(makefile,"	$(CC) -o $(TARGET) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS)\n");
     fprintf(makefile,"	@strip $(TARGET)\n");
     if(ssl==0)
     {