--- Makefile.in.orig	Thu Sep 20 00:20:54 2001
+++ Makefile.in	Thu Sep 20 00:21:03 2001
@@ -27,7 +27,7 @@
 
 
 rlwrap: $(OBJECTS)
-	$(CC)  -o rlwrap $(OBJECTS)  @READLINELIB@ @READLINE_SUPPLIB@
+	$(CC)  -o rlwrap $(OBJECTS)  @READLINELIB@ @READLINE_SUPPLIB@ @LDFLAGS@
 
 $(OBJECTS) : rlwrap.h 
 
