$OpenBSD: patch-tools_Makefile_in,v 1.6 2006/03/18 17:40:02 naddy Exp $
--- tools/Makefile.in.orig	Mon Mar 13 15:58:40 2006
+++ tools/Makefile.in	Thu Mar 16 16:09:34 2006
@@ -251,10 +251,10 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 LD = @LD@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = 
 LIBDIR = @LIBDIR@
 LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
+LIBS = @LDFLAGS@ @LIBS@
 LIBTIFF_ALPHA_VERSION = @LIBTIFF_ALPHA_VERSION@
 LIBTIFF_DOCDIR = @LIBTIFF_DOCDIR@
 LIBTIFF_MAJOR_VERSION = @LIBTIFF_MAJOR_VERSION@
